From 572b5bc0451e5d2b908be9bc0382b836867bfa0f Mon Sep 17 00:00:00 2001 From: Jonas Braathen Date: Tue, 29 Jan 2019 21:41:35 +0100 Subject: [PATCH] =?UTF-8?q?wordpress=5F=5FEVENT=20=E2=86=92=20=20wordpress?= =?UTF-8?q?=5F=5Fwp=5Fevents?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gatsby-node.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gatsby-node.js b/gatsby-node.js index 2fb9aef..7f0569c 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -224,7 +224,7 @@ exports.onCreateNode = ({ node, actions, getNode }) => { } if ((node.internal.type === 'wordpress__POST') || - (node.internal.type === 'wordpress__EVENT')) { + (node.internal.type === 'wordpress__wp_events')) { const link = new URL(node.link).pathname createNodeField({ node,