You've already forked node-redis
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user