Commit 0e44d7d676c0bc26b98982ab004bc673a401bbad
1 parent
4f89e9e046
Exists in
master
Log
Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff
lib/core-callback/sender.js
... | ... | @@ -39,7 +39,7 @@ const urlConcatQs = require('../url-concat-qs'); |
39 | 39 | const sender = async (data, xid, retry) => { |
40 | 40 | const params = { |
41 | 41 | httpgetx_xid: xid, |
42 | - command: data.command, | |
42 | + command: data.command || 'BUY', | |
43 | 43 | |
44 | 44 | request_id: data.request_id && data.request_id.toString(), |
45 | 45 | transaction_id: data.transaction_id && data.transaction_id.toString(), |
lib/webhook-sender.js