Skip to content

Commit af9e00d

Browse files
#RI-4027 - fix redis version
1 parent 4365412 commit af9e00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/recommendation/providers/recommendation.provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ export class RecommendationProvider {
509509
): Promise<Recommendation> {
510510
try {
511511
const dangerousCommands = await redisClient.sendCommand(
512-
new Command('command', ['LIST', 'FILTERBY', 'aclcat', 'dangerous'], { replyEncoding: 'utf8' }),
512+
new Command('ACL', ['CAT', 'dangerous'], { replyEncoding: 'utf8' }),
513513
) as string[];
514514

515515
const filteredDangerousCommands = dangerousCommands.filter((command) => {

0 commit comments

Comments
 (0)