From 863933a19afd8d3a1b0a3792d26bf40650b06f20 Mon Sep 17 00:00:00 2001 From: Ryan Bell Date: Thu, 12 Oct 2017 19:13:25 -0700 Subject: [PATCH] Update README.md Fixed typo. --- API/pubsub/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)