File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/gatsby-source-wordpress/src/steps/preview Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -310,9 +310,10 @@ export const sourcePreview = async (
310310 * It first sources all pending preview actions, then calls sourcePreview() for each of them.
311311 */
312312export const sourcePreviews = async (
313- { webhookBody , reporter } : GatsbyHelpers ,
313+ helpers : GatsbyHelpers ,
314314 pluginOptions : IPluginOptions
315315) : Promise < void > => {
316+ const { webhookBody, reporter } = helpers
316317 const {
317318 debug : { preview : inPreviewDebugModeOption } ,
318319 } = getPluginOptions ( )
@@ -341,6 +342,7 @@ export const sourcePreviews = async (
341342 WPGatsbyPreview : webhookBody . token ,
342343 WPGatsbyPreviewUser : webhookBody . userDatabaseId ,
343344 } ,
345+ helpers,
344346 query : /* GraphQL */ `
345347 query PREVIEW_ACTIONS($after: String) {
346348 actionMonitorActions(
You can’t perform that action at this time.
0 commit comments