A free open source IT asset/license management system
removes discord from rules
Godfrey M542332ea0c2a
diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.phpindex c28394140e..dfbc3b17cf 100644--- a/app/Http/Livewire/SlackSettingsForm.php+++ b/app/Http/Livewire/SlackSettingsForm.php@@ -21,7 +21,7 @@ class SlackSettingsForm extends Componentpublic Setting $setting;protected $rules = [- 'webhook_endpoint' => 'url|required_with:webhook_channel|starts_with:https://hooks.slack.com/services,https://discord.com/api/webhooks|nullable',+ 'webhook_endpoint' => 'url|required_with:webhook_channel|starts_with:https://hooks.slack.com/services|nullable','webhook_channel' => 'required_with:webhook_endpoint|starts_with:#|nullable','webhook_botname' => 'string|nullable',];