Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Commit

Permalink
rectified the wrong slash for subscribe topic
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdare committed Aug 13, 2014
1 parent 79102c7 commit 6c435b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/nodejs/ibm-iot-quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ require('getmac').getMac(function(err, macAddress) {
var interval = setInterval(sendMessage,1000);

if(config){
client.subscribe('/iot-2/cmd/+/fmt/json');
client.subscribe('iot-2/cmd/+/fmt/json');

client.on('message', function(topic, message) {
console.log('Received command on topic: ' + topic);
Expand Down

0 comments on commit 6c435b6

Please sign in to comment.