Define property

This commit is contained in:
Marcus Moore 2024-06-04 16:14:07 -07:00
parent ef91c8123e
commit 99439f0a5c
No known key found for this signature in database

View file

@ -25,9 +25,9 @@ class SlackSettingsForm extends Component
public $save_button;
public $webhook_test;
public $webhook_endpoint_rules;
protected $rules = [
'webhook_endpoint' => 'required_with:webhook_channel|starts_with:http://,https://,ftp://,irc://,https://hooks.slack.com/services/|url|nullable',
'webhook_channel' => 'required_with:webhook_endpoint|starts_with:#|nullable',