Merge pull request #14268 from Godmartinz/checked-out-notif-fix

Fixed the notification listener
This commit is contained in:
snipe
2024-02-15 08:29:15 +00:00
committed by GitHub
+1 -1
View File
@@ -115,7 +115,7 @@ class CheckoutableListener
);
}
//slack doesn't include the url in its messaging format so this is needed to hit the endpoint
if(Setting::getSettings()->webhook_selected =='slack') {
if(Setting::getSettings()->webhook_selected =='slack' || Setting::getSettings()->webhook_selected =='general') {
if ($this->shouldSendWebhookNotification()) {
Notification::route('slack', Setting::getSettings()->webhook_endpoint)