This commit is contained in:
Quan HL
2023-07-27 22:23:01 +07:00
parent ad57931222
commit b5efb7351b
3 changed files with 9 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class HttpRequestor extends BaseRequestor {
assert(HookMsgTypes.includes(type));
const payload = params ? snakeCaseKeys(params, ['customerdata', 'sip']) : null;
const payload = params ? snakeCaseKeys(params, ['customerdata', 'customerData', 'sip']) : null;
const url = hook.url || hook;
const method = hook.method || 'POST';
let buf = '';