removes discord from rules

This commit is contained in:
Godfrey M 2023-03-13 10:54:18 -07:00
parent b6d105c4f4
commit 542332ea0c

View file

@ -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',
];