Browse Source

check token in opts

activeAddress
Gabriel Bazán 9 years ago
parent
commit
bcd840c7fc
  1. 3
      lib/server.js

3
lib/server.js

@ -2428,6 +2428,9 @@ WalletService.prototype.getFiatRate = function(opts, cb) {
};
WalletService.prototype.pushNotificationsSubscribe = function(opts, cb) {
if (!Utils.checkRequired(opts, ['token']))
return cb(new ClientError('Required argument missing'));
var self = this;
opts.user = self.walletId + '$' + self.copayerId + '$' + opts.token;

Loading…
Cancel
Save