Skip to content

Commit

Permalink
fix: toSubscribe being set to bool instead of map (#2985)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightswitch05 committed Feb 28, 2023
1 parent dad95b4 commit f6e3338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MqttClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ class MqttClient extends TypedEventEmitter<MqttClientEventCallbacks> {
subscribePromises.push(this.subscribe(t, this.toSubscribe.get(t)))
}

this.toSubscribe == new Map()
this.toSubscribe = new Map()

await allSettled(subscribePromises)

Expand Down

0 comments on commit f6e3338

Please sign in to comment.