Skip to content

Commit

Permalink
[fix] the mux inbox was doubly initialized with a prefix - needed to …
Browse files Browse the repository at this point in the history
…just get the inbox prefix for it's initialization.

FIX #135
  • Loading branch information
aricart committed Mar 27, 2021
1 parent 7907036 commit 61b5a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nats-base-client/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ export class ProtocolHandler implements Dispatcher<ParserEvent> {
const mux = this.subscriptions.getMux();
if (!mux) {
const inbox = this.muxSubscriptions.init(
createInbox(this.options.inboxPrefix),
this.options.inboxPrefix,
);
// dot is already part of mux
const sub = new SubscriptionImpl(this, `${inbox}*`);
Expand Down

0 comments on commit 61b5a20

Please sign in to comment.