From bb3fa05318334ad561000668d08701a18520afd3 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Sat, 12 Mar 2022 19:22:38 +0100 Subject: [PATCH] :bug: Fix bug in new Redis Trigger node that causes crash on activation error --- packages/nodes-base/nodes/Redis/RedisTrigger.node.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts index 5a7073e75b..592db25cb9 100644 --- a/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts +++ b/packages/nodes-base/nodes/Redis/RedisTrigger.node.ts @@ -84,7 +84,6 @@ export class RedisTrigger implements INodeType { redisOptions.password = credentials.password as string; } - const channels = (this.getNodeParameter('channels') as string).split(','); const options = this.getNodeParameter('options') as IDataObject; @@ -128,7 +127,7 @@ export class RedisTrigger implements INodeType { } if (this.getMode() === 'trigger') { - manualTriggerFunction(); + await manualTriggerFunction(); } async function closeFunction() {