Skip to content

Commit

Permalink
Merge pull request #552 from HartS/5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Nov 16, 2023
2 parents 17a1a3d + cac6cfe commit 7595eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -208,7 +208,7 @@ sock.subscribe('kitty cats');
console.log('Subscriber connected to port 3000');

sock.on('message', function(topic, message) {
console.log('received a message related to:', topic, 'containing message:', message);
console.log('received a message related to:', topic.toString(), 'containing message:', message.toString());
});
```

Expand Down

0 comments on commit 7595eaf

Please sign in to comment.