diff --git a/API/pubsub/README.md b/API/pubsub/README.md index 42d90c2f8..e903c9dc8 100644 --- a/API/pubsub/README.md +++ b/API/pubsub/README.md @@ -52,7 +52,7 @@ This works like `EventEmitter.removeListener`, as that only the `handler` passed const topic = 'fruit-of-the-day' const receiveMsg = (msg) => { - console.log(msg.toString() + console.log(msg.toString()) } ipfs.pubsub.subscribe(topic, receiveMsg)