Fix storage of the externalService flags

This commit is contained in:
Gustavo Maximiliano Cortez 2016-11-17 20:19:05 -03:00
commit b6bde71048
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
popupService.showConfirm(title, msg, ok, cancel, function(res) {
if (res) {
// Set flag for nextStep
storageService.setNextStep('BitpayCard', true, function(err) {});
storageService.setNextStep('BitpayCard', 'true', function(err) {});
// Save data
bitpayCardService.setBitpayDebitCards(data, function(err) {
if (err) return;

View file

@ -70,7 +70,7 @@ angular.module('copayApp.services').factory('amazonService', function($http, $lo
});
// Show pending task from the UI
storageService.setNextStep('AmazonGiftCards', true, function(err) {});
storageService.setNextStep('AmazonGiftCards', 'true', function(err) {});
};
root.getPendingGiftCards = function(cb) {

View file

@ -81,7 +81,7 @@ angular.module('copayApp.services').factory('glideraService', function($http, $l
$http(req).then(function(data) {
$log.info('Glidera Authorization Access Token: SUCCESS');
// Show pending task from the UI
storageService.setNextStep('BuyAndSell', true, function(err) {});
storageService.setNextStep('BuyAndSell', 'true', function(err) {});
return cb(null, data.data);
}, function(data) {
$log.error('Glidera Authorization Access Token: ERROR ' + data.statusText);