Ken 3 өдөр өмнө
parent
commit
9214e8ac5d

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

@@ -330,7 +330,7 @@ class Config extends Controller
                     'chatId' => ['required', 'string', 'min:1'],
                     'image' => ['required', 'url'],
                     'text' => ['nullable', 'string'],
-                    'button' => ['required', 'array','min:1'],
+                    'button' => ['required', 'array'],
                     'button.*' => ['array','min:1'],
                     'button.*.*.text' => ['required', 'string'],
                     'button.*.*.url' => ['required', 'url'],