From 1b866ca7ec7f9a98882dcc0a7ddf70a785f6b3e8 Mon Sep 17 00:00:00 2001 From: Vasco Santos Date: Tue, 7 Jan 2020 11:48:43 +0100 Subject: [PATCH] chore: fix getSubscribers api doc (#33) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bddaa975ac..9ccb61f20b 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ Get the list of topics which the peer is subscribed to. Get a list of the [PeerId](https://github.com/libp2p/js-peer-id) strings that are subscribed to one topic. -#### `pubsub.getPeersSubscribed(topic)` +#### `pubsub.getSubscribers(topic)` ##### Parameters