Skip to content

Commit

Permalink
chore: fix getSubscribers api doc (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos authored Jan 7, 2020
1 parent ea8fac8 commit 1b866ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1b866ca

Please sign in to comment.