mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
parent
41236b7e08
commit
4e66023cd4
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue