File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public void connect() {
143
143
* @param method - name of corresponding Meteor method
144
144
* @param args - arguments to be passed to the Meteor method
145
145
*/
146
- public void call (String method , String [] params ){
146
+ public void call (String method , Object [] params ){
147
147
Map <DdpMessageField ,Object > callMsg = new HashMap <DdpMessageField ,Object >();
148
148
callMsg .put (DdpMessageField .MSG , "method" );
149
149
callMsg .put (DdpMessageField .METHOD , method );
@@ -161,7 +161,7 @@ public void call(String method, String[] params){
161
161
* @param name - name of the corresponding Meteor subscription
162
162
* @param params - arguments corresponding to the Meteor subscription
163
163
*/
164
- public void subscribe (String name , String [] params ) {
164
+ public void subscribe (String name , Object [] params ) {
165
165
Map <DdpMessageField ,Object > subMsg = new HashMap <DdpMessageField ,Object >();
166
166
subMsg .put (DdpMessageField .MSG , "sub" );
167
167
subMsg .put (DdpMessageField .NAME , name );
You can’t perform that action at this time.
0 commit comments