Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

source-contentful: Add environment support #5142

Merged
merged 10 commits into from
Apr 27, 2018
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
Khaledgarbaya committed Apr 26, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 6443b2a605b78cb0ced0ebbf396b03161af7e919
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/src/gatsby-node.js
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ exports.sourceNodes = async (
} = boundActionCreators

host = host || `cdn.contentful.com`
environment = environment || 'master' // default is always master
environment = environment || `master` // default is always master
// Get sync token if it exists.
let syncToken
if (