From 5cb1837ea9e9026e682795828d1db33da819ae99 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Mon, 14 Sep 2020 12:59:52 +0200 Subject: [PATCH] :zap: Fix issue with Postmark Trigger node --- packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts b/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts index 4956d647b7..e6c60bdda3 100644 --- a/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts +++ b/packages/nodes-base/nodes/Postmark/PostmarkTrigger.node.ts @@ -127,7 +127,7 @@ export class PostmarkTrigger implements INodeType { if (this.getNodeParameter('includeContent') as boolean) { events.push('includeContent'); } - if (this.getNodeParameter('firstOpen') as boolean) { + if (events.includes('open') && this.getNodeParameter('firstOpen') as boolean) { events.push('firstOpen'); }