mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +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
@@ -587,7 +587,6 @@ export class CiscoWebexTrigger implements INodeType {
|
||||
|
||||
//@ts-ignore
|
||||
const computedSignature = createHmac('sha1', webhookData.secret)
|
||||
//@ts-ignore
|
||||
.update(req.rawBody)
|
||||
.digest('hex');
|
||||
if (headers['x-spark-signature'] !== computedSignature) {
|
||||
|
||||
Reference in New Issue
Block a user