From 6306f78fe00868add240afce3763ac275ef04111 Mon Sep 17 00:00:00 2001 From: Brady Wetherington Date: Wed, 14 May 2025 16:14:03 +0200 Subject: [PATCH] A quick check to make sure that webhooks still fire when email is off --- app/Listeners/CheckoutableListener.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Listeners/CheckoutableListener.php b/app/Listeners/CheckoutableListener.php index 75c2806a2a..4c204a9c7b 100644 --- a/app/Listeners/CheckoutableListener.php +++ b/app/Listeners/CheckoutableListener.php @@ -388,6 +388,9 @@ class CheckoutableListener if(in_array(get_class($checkoutable), $this->skipNotificationsFor)) { return true; } + if ($this->shouldSendWebhookNotification()) { + return false; + } //runs a check if the category wants to send checkin/checkout emails to users $category = match (true) { $checkoutable instanceof Asset => $checkoutable->model->category,