amazon integration refactor
This commit is contained in:
parent
42a8176d7c
commit
6dff2840c8
12 changed files with 336 additions and 454 deletions
|
|
@ -317,7 +317,7 @@ angular.module('copayApp.services')
|
|||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
root.setAmazonGiftCards = function(network, gcs, cb) {
|
||||
storage.set('amazonGiftCards-' + network, gcs, cb);
|
||||
};
|
||||
|
|
@ -330,17 +330,5 @@ angular.module('copayApp.services')
|
|||
storage.remove('amazonGiftCards-' + network, cb);
|
||||
};
|
||||
|
||||
root.setAmazon = function(network, data, cb) {
|
||||
storage.set('amazon-' + network, data, cb);
|
||||
};
|
||||
|
||||
root.getAmazon = function(network, cb) {
|
||||
storage.get('amazon-' + network, cb);
|
||||
};
|
||||
|
||||
root.removeAmazon = function(network, cb) {
|
||||
storage.remove('amazon-' + network, cb);
|
||||
};
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue