This commit is contained in:
James Cole
2025-08-22 06:49:16 +02:00
parent 1ba641c279
commit 96a66b894a
3 changed files with 11 additions and 8 deletions

View File

@@ -55,6 +55,9 @@ class WebhookRepository implements WebhookRepositoryInterface, UserGroupInterfac
public function destroy(Webhook $webhook): void
{
// force delete all messages and attempts:
$webhook->webhookMessages()->delete();
$webhook->delete();
}