From 79cb5a8f58cc2d36f8df25d95de3c042a0bb8c80 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 3 Jan 2024 00:48:50 +0100 Subject: [PATCH] update validation --- src/MediaController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/MediaController.php b/src/MediaController.php index 10430a3..6ee29d3 100644 --- a/src/MediaController.php +++ b/src/MediaController.php @@ -34,7 +34,6 @@ class MediaController $request->validate($isSingle ? [ 'payload' => 'array', - 'payload.*' => '', 'payload.name' => 'required|string|regex:/\..*$/|max:255', 'payload.content' => 'required|string', ] : [