Skip to content

Commit

Permalink
mqtt: fix binding-mqtt readme
Browse files Browse the repository at this point in the history
  • Loading branch information
egekorkan committed Aug 31, 2023
1 parent d5102a0 commit 0f5f323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/binding-mqtt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ MqttBrokerServer = require("@node-wot/binding-mqtt").MqttBrokerServer;

// create Servient add MQTT binding
let servient = new Servient();
servient.addServer(new MqttBrokerServer("mqtt://test.mosquitto.org"));
servient.addServer(new MqttBrokerServer({uri:"mqtt://test.mosquitto.org"}));

servient.start().then((WoT) => {
var counter = 0;
Expand Down

0 comments on commit 0f5f323

Please sign in to comment.