Merge pull request #16942 from uberbrady/quick_temp_fix_notifications

A quick check to make sure that webhooks still fire when email is off
This commit is contained in:
snipe
2025-05-14 16:21:37 +02:00
committed by GitHub

View File

@@ -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,