Compare View
Commits (2)
Changes
Showing 3 changed files Side-by-side Diff
lib/webhook-sender.js
... | ... | @@ -37,8 +37,10 @@ const dumper = async (xid, webhookType, body) => { |
37 | 37 | const filename = [ |
38 | 38 | [moment().format('YYYYMMDD-HHmmssSSS'), xid].join('_'), |
39 | 39 | webhookType, |
40 | + body.request_id, | |
40 | 41 | 'json', |
41 | - ].join('.'); | |
42 | + ].filter((item) => item).join('.'); | |
43 | + | |
42 | 44 | await fs.promises.writeFile( |
43 | 45 | path.join(baseDumpDir, filename), |
44 | 46 | stringify({ webhookType, body }), |
package-lock.json
1 | 1 | { |
2 | 2 | "name": "komodo-center-httpget-x", |
3 | - "version": "0.18.7", | |
3 | + "version": "0.18.8", | |
4 | 4 | "lockfileVersion": 2, |
5 | 5 | "requires": true, |
6 | 6 | "packages": { |
7 | 7 | "": { |
8 | 8 | "name": "komodo-center-httpget-x", |
9 | - "version": "0.18.7", | |
9 | + "version": "0.18.8", | |
10 | 10 | "license": "ISC", |
11 | 11 | "dependencies": { |
12 | 12 | "axios": "^1.7.3", |