Skip to content

Commit f49a976

Browse files
authored
run setGatsbyApiToState in onPreInit to delete auth options (#32339)
1 parent 85d8c97 commit f49a976

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)