update validation
This commit is contained in:
parent
2e90fde134
commit
79cb5a8f58
|
@ -34,7 +34,6 @@ class MediaController
|
|||
|
||||
$request->validate($isSingle ? [
|
||||
'payload' => 'array',
|
||||
'payload.*' => '',
|
||||
'payload.name' => 'required|string|regex:/\..*$/|max:255',
|
||||
'payload.content' => 'required|string',
|
||||
] : [
|
||||
|
|
Loading…
Reference in New Issue