Merge pull request #5522 from cmgustavo/bug/coinbase-token-01

Bug/coinbase token 01
This commit is contained in:
Matias Alejo Garcia 2017-01-26 10:28:25 -03:00 committed by GitHub
commit 57f1b10d10
4 changed files with 22 additions and 6 deletions

View file

@ -211,7 +211,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $
});
};
root.init = function(cb) {
root.init = lodash.throttle(function(cb) {
if (lodash.isEmpty(credentials.CLIENT_ID)) {
return cb('Coinbase is Disabled');
}
@ -243,7 +243,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $
});
}
});
};
}, 10000);
var _get = function(endpoint, token) {
return {