Skip to content

Commit

Permalink
Merge pull request #28 from ripe-tech/hg/contentful_fix
Browse files Browse the repository at this point in the history
fixing default value
  • Loading branch information
joamag authored Apr 4, 2018
2 parents f92c72b + 1f4ad8c commit b699801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/appier_extras/parts/contentful/partials/_contentful.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _contentful_deref(cls, entry, entries):

# retrieves the includes reference from the global entries
# dictionary and then gather the items by the requested link type
includes = entries.get("includes", [])
includes = entries.get("includes", {})
items = includes.get(link_type, [])

# iterates over the complete set of items to try to find the
Expand Down

0 comments on commit b699801

Please sign in to comment.