Skip to content

Commit

Permalink
fix: json.mget should be readonly (#2807) (#2808)
Browse files Browse the repository at this point in the history
* fix: json.mget should be readonly (#2807)

* lint
  • Loading branch information
marcoreni authored Jul 29, 2024
1 parent dc3be85 commit 179b9e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/json/lib/commands/MGET.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { RedisJSON, transformRedisJsonNullReply } from '.';

export const FIRST_KEY_INDEX = 1;

export const IS_READ_ONLY = true;

export function transformArguments(keys: Array<string>, path: string): Array<string> {
return [
'JSON.MGET',
Expand Down

0 comments on commit 179b9e0

Please sign in to comment.