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
commit 1fa8fba5fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)