🐛 Fix bug in new Redis Trigger node that causes crash on activation
error
This commit is contained in:
@@ -84,7 +84,6 @@ export class RedisTrigger implements INodeType {
|
|||||||
redisOptions.password = credentials.password as string;
|
redisOptions.password = credentials.password as string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const channels = (this.getNodeParameter('channels') as string).split(',');
|
const channels = (this.getNodeParameter('channels') as string).split(',');
|
||||||
|
|
||||||
const options = this.getNodeParameter('options') as IDataObject;
|
const options = this.getNodeParameter('options') as IDataObject;
|
||||||
@@ -128,7 +127,7 @@ export class RedisTrigger implements INodeType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (this.getMode() === 'trigger') {
|
if (this.getMode() === 'trigger') {
|
||||||
manualTriggerFunction();
|
await manualTriggerFunction();
|
||||||
}
|
}
|
||||||
|
|
||||||
async function closeFunction() {
|
async function closeFunction() {
|
||||||
|
|||||||
Reference in New Issue
Block a user