seven 1 週間 前
コミット
2fbed0d9f1
1 ファイル変更1 行追加1 行削除
  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']);