Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 4 changed files 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
... ... @@ -76,6 +76,7 @@ const sender = async (xid, webhookType, body, retry) => {
76 76 partner: config.webhook.url,
77 77 trxId: body.transaction_id,
78 78 request_id: body.request_id,
  79 + retried: retry || 0,
79 80 });
80 81  
81 82 await axios.post(config.webhook.url, {
1 1 {
2 2 "name": "komodo-center-httpget-x",
3   - "version": "0.18.11",
  3 + "version": "0.18.12",
4 4 "lockfileVersion": 2,
5 5 "requires": true,
6 6 "packages": {
7 7 "": {
8 8 "name": "komodo-center-httpget-x",
9   - "version": "0.18.11",
  9 + "version": "0.18.12",
10 10 "license": "ISC",
11 11 "dependencies": {
12 12 "axios": "^1.7.3",
1 1 {
2 2 "name": "komodo-center-httpget-x",
3   - "version": "0.18.11",
  3 + "version": "0.18.12",
4 4 "description": "Komodo center for HTTP GET - Rewrited",
5 5 "main": "index.js",
6 6 "scripts": {