Skip to content

Commit

Permalink
fix: Remove inbox from config old consumer (#140)
Browse files Browse the repository at this point in the history
Co-authored-by: gleip <kuchinsn@lad24.ru>
  • Loading branch information
gleip and gleip authored Jan 17, 2025
1 parent 423d1a8 commit 69ddd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StreamManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class StreamManager extends Root {
if (!isConsumerExist) {
await this.jsm.consumers.add(streamName, { ...options.config, filter_subject: subject });
} else {
await this.jsm.consumers.update(streamName, consumerName, { ...options.config, filter_subject: subject });
await this.jsm.consumers.update(streamName, consumerName, { ...options.config, filter_subject: subject, deliver_subject: undefined });
}
}

Expand Down

0 comments on commit 69ddd98

Please sign in to comment.