|
|
@@ -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'],
|