From 542332ea0c2a78112f1bcddc27aec5f6f6e08d31 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Mon, 13 Mar 2023 10:54:18 -0700 Subject: [PATCH] removes discord from rules --- app/Http/Livewire/SlackSettingsForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/SlackSettingsForm.php b/app/Http/Livewire/SlackSettingsForm.php index c28394140..dfbc3b17c 100644 --- a/app/Http/Livewire/SlackSettingsForm.php +++ b/app/Http/Livewire/SlackSettingsForm.php @@ -21,7 +21,7 @@ class SlackSettingsForm extends Component public 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', ];