Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 8020740

Browse files
kevinsimperdaviddias
authored andcommitted
Missing end parentheses in example (#172)
1 parent a0359cf commit 8020740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SPEC/PUBSUB.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If no `callback` is passed, a [promise][] is returned.
2525
const topic = 'fruit-of-the-day'
2626

2727
const receiveMsg = (msg) => {
28-
console.log(msg.toString()
28+
console.log(msg.toString())
2929
}
3030

3131
ipfs.pubsub.subscribe(topic, receiveMsg)

0 commit comments

Comments
 (0)