From 1dabf79ad18430d29d2fadd2ac38baea5855ce1e Mon Sep 17 00:00:00 2001 From: Khaledgarbaya Date: Tue, 13 Sep 2016 11:13:07 +0200 Subject: [PATCH] feat(entities): Add parseEntities method --- lib/create-contentful-api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/create-contentful-api.js b/lib/create-contentful-api.js index 388f65982..109eba0af 100644 --- a/lib/create-contentful-api.js +++ b/lib/create-contentful-api.js @@ -225,7 +225,8 @@ export default function createContentfulApi ({http, shouldLinksResolve}) { * console.log( data.items[0].fields.foo ); // undefined * let parsedData = client.parseEntries(data); * console.log( parsedData.items[0].fields.foo ); // foo - * + * + * * */ function parseEntries (data) { return wrapEntryCollection(data, true, false)