mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Return "null" if redis key does not get found #278
This commit is contained in:
@@ -449,7 +449,7 @@ export class Redis implements INodeType {
|
||||
const keyGet = this.getNodeParameter('key', itemIndex) as string;
|
||||
const keyType = this.getNodeParameter('keyType', itemIndex) as string;
|
||||
|
||||
const value = await getValue(client, keyGet, keyType);
|
||||
const value = await getValue(client, keyGet, keyType) || null;
|
||||
set(item.json, propertyName, value);
|
||||
returnItems.push(item);
|
||||
} else if (operation === 'keys') {
|
||||
|
||||
Reference in New Issue
Block a user