Browse Source

Param fix

luis 7 years ago
parent
commit
9be942d765
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/wsrpc.js

+ 1 - 1
client/wsrpc.js

@@ -54,7 +54,7 @@
               'response': data
               'response': data
             }
             }
             ctx.ws.send(JSON.stringify(dataObj))
             ctx.ws.send(JSON.stringify(dataObj))
-          }, obj.param)
+          }, obj.params)
           this._exports[obj.method].apply(this._exports[obj.method], nparams)
           this._exports[obj.method].apply(this._exports[obj.method], nparams)
           break
           break
         case 'response':
         case 'response':