mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-25 20:51:30 -08:00
Merge pull request #14268 from Godmartinz/checked-out-notif-fix
Fixed the notification listener
This commit is contained in:
commit
1fa8fba5fe
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue