From 467c66816a5b29e06a3d3af5c98bc18345c6557d Mon Sep 17 00:00:00 2001 From: Haoliang Yu Date: Mon, 17 Sep 2018 20:14:14 +0800 Subject: [PATCH] Fix docstore.get() doc --- API.md | 1 - 1 file changed, 1 deletion(-) diff --git a/API.md b/API.md index b90ce82..8b988ea 100644 --- a/API.md +++ b/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 }] ```