Skip to content

Commit 514f995

Browse files
TylerBarnesgatsbybot
andauthored
run setGatsbyApiToState in onPreInit to delete auth options (#32338)
Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
1 parent f7c1897 commit 514f995

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/gatsby-source-wordpress/src/gatsby-node.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ import { runApisInSteps } from "./utils/run-steps"
22
import * as steps from "./steps"
33

44
module.exports = runApisInSteps({
5-
onPreInit: [steps.setErrorMap, steps.tempPreventMultipleInstances],
5+
onPreInit: [
6+
steps.setGatsbyApiToState,
7+
steps.setErrorMap,
8+
steps.tempPreventMultipleInstances,
9+
],
610

711
pluginOptionsSchema: steps.pluginOptionsSchema,
812

0 commit comments

Comments
 (0)