From fa59a408cf90cec170ea6bb61059487fdd060f67 Mon Sep 17 00:00:00 2001 From: Benjamin Abel Date: Mon, 15 Mar 2021 20:58:26 +0100 Subject: [PATCH] Remove old touchNode signature see: ttps://github.com/gatsbyjs/gatsby/pull/29245/files --- src/gatsby-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gatsby-node.js b/src/gatsby-node.js index 25dbcd4..7c5fcbd 100644 --- a/src/gatsby-node.js +++ b/src/gatsby-node.js @@ -106,7 +106,7 @@ exports.sourceNodes = async ({ getNodes, actions }) => { const existingNodes = getNodes().filter( n => n.internal.owner === `@gatsby-contrib/gatsby-plugin-elasticlunr-search` ) - existingNodes.forEach(n => touchNode({ nodeId: n.id })) + existingNodes.forEach(n => touchNode({ node })) } exports.onCreateNode = ({ node, actions, getNode }, { resolvers, filter }) => {