Skip to content

Commit f8e0084

Browse files
committed
fix: json.mget should be readonly (#2807)
1 parent 6f79b49 commit f8e0084

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/json/lib/commands/MGET.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { RedisJSON, transformRedisJsonNullReply } from '.';
22

33
export const FIRST_KEY_INDEX = 1;
44

5+
6+
export const IS_READ_ONLY = true;
7+
58
export function transformArguments(keys: Array<string>, path: string): Array<string> {
69
return [
710
'JSON.MGET',

0 commit comments

Comments
 (0)