We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14c9fed commit 5e16f76Copy full SHA for 5e16f76
src/classes/queue-events-producer.ts
@@ -40,7 +40,7 @@ export class QueueEventsProducer extends QueueBase {
40
const args: any[] = ['MAXLEN', '~', maxEvents, '*', 'event', eventName];
41
42
for (const [key, value] of Object.entries(restArgs)) {
43
- args.push(key, value);
+ args.push(key, JSON.stringify(value));
44
}
45
46
await client.xadd(key, ...args);
0 commit comments