Adds limits 500usd per day per user
This commit is contained in:
parent
39c3a85bd3
commit
d25cb3d02e
4 changed files with 76 additions and 12 deletions
|
|
@ -330,5 +330,17 @@ angular.module('copayApp.services')
|
|||
storage.remove('amazonGiftCards-' + network, cb);
|
||||
};
|
||||
|
||||
root.setAmazonLimits = function(network, limits, cb) {
|
||||
storage.set('amazonLimits-' + network, limits, cb);
|
||||
};
|
||||
|
||||
root.getAmazonLimits = function(network, cb) {
|
||||
storage.get('amazonLimits-' + network, cb);
|
||||
};
|
||||
|
||||
root.removeAmazonLimits = function(network, cb) {
|
||||
storage.remove('amazonLimits-' + network, cb);
|
||||
};
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue