Skip to content

Commit

Permalink
feat(entities): Add parseEntities method
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Sep 13, 2016
1 parent e0f1d50 commit 1dabf79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/create-contentful-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
* </pre>
* </pre>
*
* */
function parseEntries (data) {
return wrapEntryCollection(data, true, false)
Expand Down

0 comments on commit 1dabf79

Please sign in to comment.