Merge pull request #459 from haoliangyu/patch-1

docs(api): fix outdated doc
This commit is contained in:
shamb0t 2018-09-18 16:12:04 +04:00 committed by GitHub
commit a4c1027416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
API.md
View File

@ -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 }]
```