Coinbase connection issues and logout from tab-setting
This commit is contained in:
parent
1533428fb0
commit
539583a2af
9 changed files with 130 additions and 127 deletions
|
|
@ -177,7 +177,10 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $
|
|||
if (err) return cb(err);
|
||||
_refreshToken(refreshToken, function(err, newToken) {
|
||||
if (err) return cb(err);
|
||||
return cb(null, {accessToken: newToken, accountId: accountId});
|
||||
_getMainAccountId(newToken, function(err, accountId) {
|
||||
if (err) return cb(err);
|
||||
return cb(null, {accessToken: newToken, accountId: accountId});
|
||||
});
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue