Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94bc770

Browse files
paveliGatsbyJS Bot
authored and
GatsbyJS Bot
committed
fix(gatsby-source-shopify): allShopifyPage node creation issue gatsbyjs#18249 fix (gatsbyjs#19950)
1 parent a99a6b4 commit 94bc770

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/gatsby-source-shopify/src/gatsby-node.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ const createPageNodes = async (
192192

193193
if (verbose) console.time(msg)
194194
await forEach(
195-
await queryAll(client, [endpoint], query, paginationSize),
195+
await queryAll(
196+
client,
197+
[NODE_TO_ENDPOINT_MAPPING[endpoint]],
198+
query,
199+
paginationSize
200+
),
196201
async entity => {
197202
const node = await nodeFactory(entity)
198203
createNode(node)

0 commit comments

Comments
 (0)