update validation

This commit is contained in:
philipp lang 2024-01-03 00:48:50 +01:00
parent 2e90fde134
commit 79cb5a8f58
1 changed files with 0 additions and 1 deletions

View File

@ -34,7 +34,6 @@ class MediaController
$request->validate($isSingle ? [
'payload' => 'array',
'payload.*' => '',
'payload.name' => 'required|string|regex:/\..*$/|max:255',
'payload.content' => 'required|string',
] : [