Skip to content

Commit

Permalink
fix(gatsby-source-wordpress) pass store for auth (#37006)
Browse files Browse the repository at this point in the history
added store

Co-authored-by: Ward Peeters <ward@coding-tech.com>
  • Loading branch information
sophiemcgarity and wardpeet committed Nov 15, 2022
1 parent c411d69 commit 5772595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -265,6 +265,7 @@ export const createLocalFileNode = async ({

const createFileNodeRequirements = {
parentNodeId: mediaItemNode.id,
store: gatsbyStore,
cache,
createNode,
createNodeId,
Expand Down
Expand Up @@ -625,7 +625,8 @@ export const replaceNodeHtmlImages = async ({
contentDigest: imageNode.modifiedGmt,
},
},
helpers.actions
helpers.actions,
gatsbyStore
)
}
} catch (e) {
Expand Down

0 comments on commit 5772595

Please sign in to comment.