mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
🐛 Fix bug in new Redis Trigger node that causes crash on activation
error
This commit is contained in:
parent
6412546c0c
commit
bb3fa05318
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue