1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
This commit is contained in:
Leibale
2023-06-29 14:39:49 -04:00
parent ea2d9d2a77
commit c109fbf751
36 changed files with 584 additions and 720 deletions

View File

@@ -22,7 +22,7 @@ export default {
streams: XReadStreams,
options?: XReadGroupOptions
) {
const args = ['XREADGROUP', group, consumer];
const args = ['XREADGROUP', 'GROUP', group, consumer];
if (options?.COUNT !== undefined) {
args.push('COUNT', options.COUNT.toString());