Fix guideline UI

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-05 20:43:55 -03:00
commit 39c3a85bd3
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 87 additions and 48 deletions

View file

@ -169,9 +169,9 @@ angular.module('copayApp.services').factory('amazonService', function($http, $lo
};
root.createGiftCard = function(dataSrc, cb) {
var sandbox = credentials.AMAZON_SANDBOX ? 'T' : 'P'; // T: test - P: production
var environment = credentials.AMAZON_SANDBOX ? 'T' : 'P'; // T: test - P: production
var now = moment().unix();
var requestId = dataSrc.creationRequestId || credentials.AMAZON_PARTNER_ID + sandbox + now;
var requestId = dataSrc.creationRequestId || credentials.AMAZON_PARTNER_ID + environment + now;
var data = {
'creationRequestId': requestId,