Skip to content

Commit b06fd5b

Browse files
authored
Merge pull request #16942 from uberbrady/quick_temp_fix_notifications
A quick check to make sure that webhooks still fire when email is off
2 parents da4bce0 + 6306f78 commit b06fd5b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Listeners/CheckoutableListener.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,9 @@ private function shouldNotSendAnyNotifications($checkoutable): bool
388388
if(in_array(get_class($checkoutable), $this->skipNotificationsFor)) {
389389
return true;
390390
}
391+
if ($this->shouldSendWebhookNotification()) {
392+
return false;
393+
}
391394
//runs a check if the category wants to send checkin/checkout emails to users
392395
$category = match (true) {
393396
$checkoutable instanceof Asset => $checkoutable->model->category,

0 commit comments

Comments
 (0)