rename push notifications variables - fix log when enable/disable notifications
This commit is contained in:
parent
a395f12d87
commit
a2d83d6c7c
3 changed files with 7 additions and 6 deletions
|
|
@ -38,7 +38,7 @@ angular.module('copayApp.services')
|
|||
opts.token = token;
|
||||
root.subscribe(opts, wallet.id, function(err, response) {
|
||||
if (err) $log.warn('Error: ' + err.code);
|
||||
$log.debug('Suscribed: ' + JSON.stringify(response));
|
||||
$log.debug('Suscribed to push notifications service: ' + JSON.stringify(response));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -48,7 +48,7 @@ angular.module('copayApp.services')
|
|||
lodash.forEach(profileService.getWallets('testnet'), function(wallet) {
|
||||
root.unsubscribe(wallet.id, function(err, response) {
|
||||
if (err) $log.warn('Error: ' + err.code);
|
||||
$log.debug('Unsubscribed: ' + response);
|
||||
$log.debug('Unsubscribed from push notifications service');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue