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
@@ -412,7 +412,6 @@ export class ShopifyTrigger implements INodeType {
|
||||
headerData['x-shopify-shop-domain'] !== undefined &&
|
||||
headerData['x-shopify-api-version'] !== undefined
|
||||
) {
|
||||
// @ts-ignore
|
||||
const computedSignature = createHmac('sha256', secret).update(req.rawBody).digest('base64');
|
||||
|
||||
if (headerData['x-shopify-hmac-sha256'] !== computedSignature) {
|
||||
|
||||
Reference in New Issue
Block a user