Skip to content

Commit

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

await async handleDeletedNode

(cherry picked from commit e575a0a)

Co-authored-by: Tyler Barnes <tylerdbarnes@gmail.com>
  • Loading branch information
ViCo0TeCH and TylerBarnes committed Jan 13, 2023
1 parent b229e7b commit 19d3861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-drupal/src/gatsby-node.js
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 19d3861

Please sign in to comment.