mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Fix docstore.get() doc
This commit is contained in:
parent
5e3d0c5e81
commit
467c66816a
1
API.md
1
API.md
@ -332,7 +332,6 @@ Returns a `Promise` that resolves to the multihash of the entry as a `String`.
|
||||
Returns an `Array` with a single `Object` if key exists.
|
||||
```javascript
|
||||
const profile = db.get('shamb0t')
|
||||
.map((e) => e.payload.value)
|
||||
// [{ _id: 'shamb0t', name: 'shamb0t', followers: 500 }]
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user