From 68f29415cba137594a50a007c51090a5adb7366d Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Mon, 25 Jun 2018 22:00:44 +0200 Subject: [PATCH] [gatsby-source-contentful] pass host to client init --- packages/gatsby-source-contentful/src/fetch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-contentful/src/fetch.js b/packages/gatsby-source-contentful/src/fetch.js index 6d89cde51dbc5..cad1db54821bd 100644 --- a/packages/gatsby-source-contentful/src/fetch.js +++ b/packages/gatsby-source-contentful/src/fetch.js @@ -2,7 +2,7 @@ const contentful = require(`contentful`) const _ = require(`lodash`) const normalize = require(`./normalize`) -module.exports = async ({ spaceId, host, syncToken, ...options }) => { +module.exports = async ({ spaceId, syncToken, ...options }) => { // Fetch articles. console.time(`Fetch Contentful data`)