From 71b98181063f3723fb530d97d37770a0f531958c Mon Sep 17 00:00:00 2001 From: Kevin Simper Date: Sun, 19 Nov 2017 20:51:34 +0100 Subject: [PATCH] Missing end parentheses in example --- SPEC/PUBSUB.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPEC/PUBSUB.md b/SPEC/PUBSUB.md index e903c9dc8..6ce6cab68 100644 --- a/SPEC/PUBSUB.md +++ b/SPEC/PUBSUB.md @@ -25,7 +25,7 @@ If no `callback` is passed, a [promise][] is returned. const topic = 'fruit-of-the-day' const receiveMsg = (msg) => { - console.log(msg.toString() + console.log(msg.toString()) } ipfs.pubsub.subscribe(topic, receiveMsg)