Adds uuid for BitPay invoice

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-07 15:34:11 -03:00
commit 6db2d13b7d
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
2 changed files with 48 additions and 13 deletions

View file

@ -342,5 +342,17 @@ angular.module('copayApp.services')
storage.remove('amazonLimits-' + network, cb);
};
root.setAmazonUuid = function(network, uuid, cb) {
storage.set('amazonUuid-' + network, uuid, cb);
};
root.getAmazonUuid = function(network, cb) {
storage.get('amazonUuid-' + network, cb);
};
root.removeAmazonUuid = function(network, cb) {
storage.remove('amazonUuid-' + network, cb);
};
return root;
});