Skip to content

Commit

Permalink
fix: dispatch with correct event method
Browse files Browse the repository at this point in the history
  • Loading branch information
samatcd authored Jun 7, 2022
1 parent be2bed3 commit f81f82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebhookRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected function dispatchWebhook(WebhookEndpointContract $endpoint, array $pay
}

// No need to queue. The developer can queue their events if they wish.
$hook->dispatchNow();
$hook->dispatchSync();
}

/**
Expand Down

0 comments on commit f81f82f

Please sign in to comment.