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

fix GET and GET_BUFFER return type

This commit is contained in:
leibale
2021-09-13 19:55:37 -04:00
parent 08837c8648
commit 9fc08d449c
3 changed files with 8 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
import { TransformArgumentsReply } from '.';
import { transformReplyString } from './generic-transformers';
import { transformReplyStringNull } from './generic-transformers';
export const FIRST_KEY_INDEX = 1;
@@ -9,4 +9,4 @@ export function transformArguments(key: string | Buffer): TransformArgumentsRepl
return ['GET', key];
}
export const transformReply = transformReplyString;
export const transformReply = transformReplyStringNull;