Skip to content

Commit

Permalink
fix(binding-mqtt/mqtt-client): add missing await (#1275)
Browse files Browse the repository at this point in the history
  • Loading branch information
relu91 committed Apr 26, 2024
1 parent f32ea33 commit af8263f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/binding-mqtt/src/mqtt-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class MqttClient implements ProtocolClient {

await pool.connect(brokerUri, this.config);

pool.subscribe(
await pool.subscribe(
filter,
(topic: string, message: Buffer) => {
next(new Content(contentType, Readable.from(message)));
Expand Down

0 comments on commit af8263f

Please sign in to comment.