Removed form request on ajax, cleaned up some other things

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2021-12-08 17:58:46 -08:00
parent 81b66d0039
commit ff97b359ad
5 changed files with 27 additions and 13 deletions
-3
View File
@@ -52,10 +52,7 @@ class Setting extends Model
'admin_cc_email' => 'email|nullable',
'default_currency' => 'required',
'locale' => 'required',
'slack_endpoint' => 'url|required_with:slack_channel|nullable',
'labels_per_page' => 'numeric',
'slack_channel' => 'regex:/^[\#\@]?\w+/|required_with:slack_endpoint|nullable',
'slack_botname' => 'string|nullable',
'labels_width' => 'numeric',
'labels_height' => 'numeric',
'labels_pmargin_left' => 'numeric|nullable',