Skip to content

Commit

Permalink
docs(fix): fix contentRouting.getMany (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
samlior authored Nov 18, 2020
1 parent fef54b2 commit 824a444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ Queries the DHT for the n values stored for the given key (without sorting).
// ...

const key = '/key'
const { from, val } = await libp2p.contentRouting.get(key)
const records = await libp2p.contentRouting.getMany(key, 2)
```

### peerRouting.findPeer
Expand Down

0 comments on commit 824a444

Please sign in to comment.