Skip to content

Conversation

@Pete-St
Copy link

@Pete-St Pete-St commented Jul 21, 2016

roots-contentful updated to contentful.js 3.x in April 2016, but the code still invokes old method names that no longer exist in contentful.js. The resulting error message is:

TypeError: client.entries is not a function

This change updates the client calls from client.entries() to client.getEntries(), and from client.contentType to client..getContentType.

….entries() and .contentType(), both of which do not seem to have been supported in Contentful.js since 3.x/April 2016.
@jescalan
Copy link
Contributor

lgtm

…ith an items member that is an array of entries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants