Skip to content

Commit

Permalink
[gatsby-source-contentful] Fix storing new sync token
Browse files Browse the repository at this point in the history
  • Loading branch information
szimek committed May 3, 2018
1 parent 517ee43 commit fc24e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ exports.sourceNodes = async (
// This might change though
if (host !== `preview.contentful.com`) {
const newState = {}
newState[spaceId] = nextSyncToken
newState[`${spaceId}-${environment}`] = nextSyncToken
setPluginStatus(newState)
}

Expand Down

0 comments on commit fc24e27

Please sign in to comment.