mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Merge pull request #459 from haoliangyu/patch-1
docs(api): fix outdated doc
This commit is contained in:
commit
a4c1027416
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