Skip to content

Commit 179b9e0

Browse files
authored
fix: json.mget should be readonly (#2807) (#2808)
* fix: json.mget should be readonly (#2807) * lint
1 parent dc3be85 commit 179b9e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: packages/json/lib/commands/MGET.ts

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { RedisJSON, transformRedisJsonNullReply } from '.';
22

33
export const FIRST_KEY_INDEX = 1;
44

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

0 commit comments

Comments
 (0)