Skip to content

Commit

Permalink
Fix test for cap.js example
Browse files Browse the repository at this point in the history
  • Loading branch information
kristian committed Feb 17, 2025
1 parent 2723eb4 commit c28cfd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const capSession = await openCap('device-id', {
username: 'user',
password: 'pass'
},
client: null, // optionally pass in the client to use, in case you would like to re-use an existing client
client: null, // as an alternative for providing out.mqtt.url, pass in the client to use, in case you would like to re-use an existing client
topic: 'zbtk' // (base) topic to publish messages
}
}
Expand Down
1 change: 1 addition & 0 deletions examples/cap.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const capSession = await openCap('device-id', {
username: 'user',
password: 'pass'
},
client: null, // as an alternative for providing out.mqtt.url, pass in the client to use, in case you would like to re-use an existing client
topic: 'zbtk' // (base) topic to publish messages
}
}
Expand Down

0 comments on commit c28cfd7

Please sign in to comment.