Refactor selling bitcoin

This commit is contained in:
Gustavo Maximiliano Cortez 2017-01-12 20:29:34 -03:00
commit 021e9301d3
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
7 changed files with 459 additions and 23 deletions

View file

@ -368,7 +368,8 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $
amount: data.amount,
currency: data.currency,
payment_method: data.payment_method || null,
commit: data.commit || false
commit: data.commit || false,
quote: data.quote || false
};
$http(_post('/accounts/' + accountId + '/sells', token, data)).then(function(data) {
$log.info('Coinbase Sell Request: SUCCESS');