Skip to content

Commit

Permalink
fix(gatsby-source-drupal): await async handleDeletedNode (#37435)
Browse files Browse the repository at this point in the history
await async handleDeletedNode

(cherry picked from commit e575a0a)
  • Loading branch information
TylerBarnes authored and tyhopp committed Jan 13, 2023
1 parent efdc5fa commit 8720dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-drupal/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ ${JSON.stringify(webhookBody, null, 4)}`

for (const nodeSyncData of nodesToSync) {
if (nodeSyncData.action === `delete`) {
handleDeletedNode({
await handleDeletedNode({
actions,
getNode,
cache,
Expand Down

0 comments on commit 8720dff

Please sign in to comment.