mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(AWS SNS Trigger Node): add missing jsonParse import (#4463)
* fix(AwsSnsTrigger): add missing jsonParse import * add clear typings for req.rawBody and getHeaderData()
This commit is contained in:
committed by
GitHub
parent
d9a41ea9d7
commit
e6ec134cf3
@@ -189,7 +189,6 @@ export class HelpScoutTrigger implements INodeType {
|
||||
}
|
||||
|
||||
const computedSignature = createHmac('sha1', webhookData.secret as string)
|
||||
//@ts-ignore
|
||||
.update(req.rawBody)
|
||||
.digest('base64');
|
||||
if (headerData['x-helpscout-signature'] !== computedSignature) {
|
||||
|
||||
Reference in New Issue
Block a user