From 21206dcec1c771c97c42c27d06b2def69e0a7b5c Mon Sep 17 00:00:00 2001 From: Corey Ward Date: Mon, 9 Apr 2018 20:13:13 -0500 Subject: [PATCH] Extract `getNode` method from `args`, not `boundActionCreators` --- packages/gatsby-source-contentful/src/gatsby-node.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/gatsby-source-contentful/src/gatsby-node.js b/packages/gatsby-source-contentful/src/gatsby-node.js index 73e2780731379..5deed0b8d5f32 100644 --- a/packages/gatsby-source-contentful/src/gatsby-node.js +++ b/packages/gatsby-source-contentful/src/gatsby-node.js @@ -30,13 +30,12 @@ exports.setFieldsOnGraphQLNodeType = require(`./extend-node-type`).extendNodeTyp */ exports.sourceNodes = async ( - { boundActionCreators, getNodes, hasNodeChanged, store }, + { boundActionCreators, getNode, getNodes, hasNodeChanged, store }, { spaceId, accessToken, host } ) => { const { createNode, deleteNode, - getNode, touchNode, setPluginStatus, } = boundActionCreators