Skip to content

Commit

Permalink
cointiger cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed May 30, 2018
1 parent 394265c commit ffd5ebf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/cointiger.js
Expand Up @@ -537,7 +537,7 @@ module.exports = class cointiger extends huobipro {
}, urlParams)));
url += '&sign=' + this.decode (signature);
if (method === 'POST') {
body = /* JSON.stringify (query); */ this.urlencode (query);
body = this.urlencode (query);
headers = {
'Content-Type': 'application/x-www-form-urlencoded',
};
Expand All @@ -550,7 +550,6 @@ module.exports = class cointiger extends huobipro {
if (Object.keys (params).length)
url += '?' + this.urlencode (params);
}
// console.log ({ 'url': url, 'method': method, 'body': body, 'headers': headers })
return { 'url': url, 'method': method, 'body': body, 'headers': headers };
}

Expand Down

0 comments on commit ffd5ebf

Please sign in to comment.