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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user