Commit 356e544bcc4339a3ee74a7b9e3a6f4bb61a47897
1 parent
3ac8948b1c
Exists in
master
Perbaikan parameter payload pada hit di axios
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/hit.js
... | ... | @@ -51,7 +51,7 @@ module.exports = async (xid, task) => { |
51 | 51 | params, |
52 | 52 | }); |
53 | 53 | |
54 | - response = await axios.post(endpointUrl, params, axiosConfig); | |
54 | + response = await axios.post(endpointUrl, payload, axiosConfig); | |
55 | 55 | if (!response) { |
56 | 56 | const e = new Error(`${MODULE_NAME} BAACC918: Empty response`); |
57 | 57 | e.rc = '90'; |