Bitpay card config external json

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-07 19:21:46 -03:00
commit 222fbe57ff
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
7 changed files with 73 additions and 8 deletions

View file

@ -1,5 +1,5 @@
'use strict';
angular.module('copayApp.controllers').controller('bitpayCardIntroController', function($scope, $state, $timeout, $ionicHistory, storageService, externalLinkService, bitpayCardService, gettextCatalog, popupService) {
angular.module('copayApp.controllers').controller('bitpayCardIntroController', function($scope, $log, $state, $timeout, $ionicHistory, storageService, externalLinkService, bitpayCardService, gettextCatalog, popupService) {
var checkOtp = function(obj, cb) {
if (obj.otp) {
@ -48,7 +48,10 @@ angular.module('copayApp.controllers').controller('bitpayCardIntroController', f
});
});
} else {
// TODO
// TEST TODO
bitpayCardService.testSession(function(err, session) {
if (err) $log.error(err);
});
}
/*