Skip to content

Commit 1b866ca

Browse files
authored
chore: fix getSubscribers api doc (#33)
1 parent ea8fac8 commit 1b866ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Get the list of topics which the peer is subscribed to.
171171

172172
Get a list of the [PeerId](https://github.com/libp2p/js-peer-id) strings that are subscribed to one topic.
173173

174-
#### `pubsub.getPeersSubscribed(topic)`
174+
#### `pubsub.getSubscribers(topic)`
175175

176176
##### Parameters
177177

0 commit comments

Comments
 (0)