mirror of
https://github.com/n8n-io/n8n.git
synced 2026-12-04 16:51:08 +00:00
1 parent
41236b7e08
commit
4e66023cd4
1 file changed
+4
@@ -665,6 +665,10 @@ export class Redis implements INodeType {
|
||||
for (let index = 0; index < (value as string[]).length; index++) {
|
||||
await clientLset(keyName, index, (value as IDataObject)[index]!.toString());
|
||||
}
|
||||
} else if (type === 'sets') {
|
||||
const clientSadd = util.promisify(client.sadd).bind(client);
|
||||
//@ts-ignore
|
||||
await clientSadd(keyName, value);
|
||||
}
|
||||
|
||||
if (expire) {
|
||||
|
||||
Reference in new issue
Block a user