Skip to content

Commit

Permalink
feat: Add publishedAt and createdAt to cf data
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya committed Oct 9, 2017
1 parent c97b25f commit efd14ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/gatsby-source-contentful/src/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ exports.createContentTypeNodes = ({

let entryNode = {
id: mId(entryItem.sys.id),
createdAt: entry.sys.createdAt,
updatedAt: entry.sys.updatedAt,
parent: contentTypeItemId,
children: [],
internal: {
Expand Down

0 comments on commit efd14ac

Please sign in to comment.