A free open source IT asset/license management system
Check for null on webhook url
snipe7a312d075c08
diff --git a/app/Models/Setting.php b/app/Models/Setting.phpindex 8f8299a3c5..199aee33dc 100755--- a/app/Models/Setting.php+++ b/app/Models/Setting.php@@ -247,7 +247,7 @@ class Setting extends Model** @return string*/- public function routeNotificationForSlack(): string+ public function routeNotificationForSlack(): ?string{// At this point the endpoint is the same for everything.// In the future this may want to be adapted for individual notifications.@@ -259,7 +259,7 @@ class Setting extends Model** @return string*/- public function routeNotificationForMail(): string+ public function routeNotificationForMail(): ?string{// At this point the endpoint is the same for everything.// In the future this may want to be adapted for individual notifications.