Closed VargBurz closed 4 years ago
This PR fixes #823
We pass the argument with nested objects to querystring.stringify, but it supports only simple types: see querystring.stringify documentation
querystring.stringify
Get rid of application/x-www-form-urlencoded webhook content type because:
application/x-www-form-urlencoded
HASTIC_WEBHOOK_TYPE
HASTIC_WEBHOOK_SECRET
sendNotification
This PR fixes #823
Probem:
We pass the argument with nested objects to
querystring.stringify
, but it supports only simple types: see querystring.stringify documentationSolution:
Get rid of
application/x-www-form-urlencoded
webhook content type because:Changes:
HASTIC_WEBHOOK_TYPE
andHASTIC_WEBHOOK_SECRET
config variablessendNotification
method