A free open source IT asset/license management system
fix the listener to fire when checking in
Godfrey Mb136e9e29df0
diff --git a/app/Listeners/CheckoutableListener.php b/app/Listeners/CheckoutableListener.phpindex 6aa0a0d376..c8f937f8be 100644--- a/app/Listeners/CheckoutableListener.php+++ b/app/Listeners/CheckoutableListener.php@@ -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)