Ken 2 dias atrás
pai
commit
ef1d2580ed
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Controllers/admin/Config.php

+ 1 - 1
app/Http/Controllers/admin/Config.php

@@ -310,7 +310,7 @@ class Config extends Controller
                     'image' => ['required', 'url'],
                     'image' => ['required', 'url'],
                     'text' => ['nullable', 'string'],
                     'text' => ['nullable', 'string'],
                     'button' => ['required', 'array'],
                     'button' => ['required', 'array'],
-                    'button.*' => ['required', 'array'],
+                    'button.*' => ['array'],
                     'button.*.*.text' => ['required', 'string'],
                     'button.*.*.text' => ['required', 'string'],
                     'button.*.*.url' => ['required', 'string'],
                     'button.*.*.url' => ['required', 'string'],
                     'isSend' => ['nullable', 'boolean'],
                     'isSend' => ['nullable', 'boolean'],