1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

fix HMGET

This commit is contained in:
dovi
2023-05-03 17:12:40 -04:00
parent cca7709dae
commit 77baef5f8c
3 changed files with 26 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ export default {
key: RedisArgument,
fields: RedisVariadicArgument
) {
return pushVariadicArguments(['HMGET'], fields);
return pushVariadicArguments(['HMGET', key], fields);
},
transformReply: undefined as unknown as () => ArrayReply<BlobStringReply | NullReply>
} as const satisfies Command;