Fix validation rules for ChmodFilesRequest.php, again..

This commit is contained in:
Matthew Penner 2020-11-29 16:02:20 -07:00
parent bd0b7127d2
commit 3e1dbbaedd

View file

@ -24,7 +24,8 @@ class ChmodFilesRequest extends ClientApiRequest implements ClientPermissionsReq
return [ return [
'root' => 'required|nullable|string', 'root' => 'required|nullable|string',
'files' => 'required|array', 'files' => 'required|array',
'files.*' => 'string', 'files.*.file' => 'required|string',
'files.*.mode' => 'required|numeric',
]; ];
} }
} }