A quick check to make sure that webhooks still fire when email is off

This commit is contained in:
Brady Wetherington
2025-05-14 16:14:03 +02:00
parent d3c19e28ec
commit 6306f78fe0

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,