Fix glidera getting token

This commit is contained in:
Gustavo Maximiliano Cortez 2015-09-08 10:17:59 -03:00
commit f574a9d78b
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 53 additions and 42 deletions

View file

@ -65,7 +65,7 @@ angular.module('copayApp.controllers').controller('buyGlideraController',
glideraService.buy(token, twoFaCode, data, function(err, data) {
self.loading = null;
if (err) {
self.error = gettext('Could not buy bitcoin');
self.error = err;
}
else {
self.success = data;