Skip to content

Commit

Permalink
mod
Browse files Browse the repository at this point in the history
  • Loading branch information
you21979 committed Jul 14, 2016
1 parent 21924c1 commit 1abdd31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/private_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ TradeApi.prototype.withdrawHistory = function(options){

TradeApi.prototype.trade = function(currency_pair, action, price, amount, options){
return this.query('trade', {
currency_pair : currency_pair,
action : action,
currency_pair : currency_pair.toLowerCase(),
action : action.toLowerCase(),
price : price,
amount : amount
}, options)
Expand All @@ -97,7 +97,7 @@ TradeApi.prototype.cancelOrder = function(order_id, options){

TradeApi.prototype.withdraw = function(currency, address, amount, options){
return this.query('withdraw', {
currency : currency,
currency : currency.toLowerCase(),
address : address,
amount : amount,
}, options)
Expand Down

0 comments on commit 1abdd31

Please sign in to comment.