add debug
This commit is contained in:
parent
759ec97522
commit
a3987bfcf9
1 changed files with 4 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ angular.module('copayApp.services').factory('bitpayCardService', function($http,
|
|||
json['params'].pubkey = credentials.pub;
|
||||
json['params'] = JSON.stringify(json.params);
|
||||
|
||||
return {
|
||||
var ret = {
|
||||
method: 'POST',
|
||||
url: BITPAY_CARD_API_URL + endpoint,
|
||||
headers: {
|
||||
|
|
@ -76,6 +76,9 @@ angular.module('copayApp.services').factory('bitpayCardService', function($http,
|
|||
},
|
||||
data: json
|
||||
};
|
||||
|
||||
$log.debug('post auth:' + JSON.stringify(ret));
|
||||
return ret;
|
||||
};
|
||||
|
||||
var _afterBitAuthSuccess = function(token, obj, credentials, cb) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue