In JS function.call expects parameters to be passed in directly instead of an array of parameters...
Also, Meteor.call accepts direct parameters while Meteor.apply accepts an array
The proposal:
Change from:
DDPClient.prototype.call and DDPClient.prototype.callWithRandomSeed
to:
DDPClient.prototype.send and DDPClient.prototype.sendWithRandomSeed
In JS
function.callexpects parameters to be passed in directly instead of an array of parameters...Also,
Meteor.callaccepts direct parameters whileMeteor.applyaccepts an arrayThe proposal:
Change from:
DDPClient.prototype.callandDDPClient.prototype.callWithRandomSeedto:
DDPClient.prototype.sendandDDPClient.prototype.sendWithRandomSeed