🐛 Fix bug in new Redis Trigger node that causes crash on activation

error
This commit is contained in:
Jan Oberhauser 2022-03-12 19:22:38 +01:00
parent 6412546c0c
commit bb3fa05318

View file

@ -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() {