Skip to content

Commit f49a976

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

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

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

+5-1
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)
Please sign in to comment.