Ken 4 일 전
부모
커밋
9e5b8353b8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/Http/Controllers/admin/Config.php

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

@@ -309,8 +309,8 @@ class Config extends Controller
                     'type' => ['required', 'string', 'in:image,video,text'],
                     'image' => ['required', 'url'],
                     'text' => ['nullable', 'string'],
-                    'button' => ['required', 'array'],
-                    'button.*' => ['array'],
+                    'button' => ['array'],
+                    'button.*' => ['required', 'array'],
                     'button.*.*.text' => ['required', 'string'],
                     'button.*.*.url' => ['required', 'string'],
                     'isSend' => ['nullable', 'boolean'],