seven 1 settimana fa
parent
commit
2fbed0d9f1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/Http/Controllers/admin/Keyboard.php

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

@@ -101,7 +101,7 @@ class Keyboard extends Controller
                 'language' => 'required|string',
                 'reply' => 'required|string',
                 'image' => ['nullable', 'url'],
-                'buttons' => ['required', 'array'],
+                'buttons' => ['array'],
             ];
             if (empty($id)) {
                 unset($validator['id']);