Skip to content

Commit

Permalink
remove delete_files validation on update
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitpanjwani committed Dec 8, 2020
1 parent ab1ed26 commit c908674
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/Http/Controllers/V1/Update/DeleteFilesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ class DeleteFilesController extends Controller
*/
public function __invoke(Request $request)
{
$request->validate([
'deleted_files' => 'required',
]);

if(isset($request->deleted_files) && !empty($request->deleted_files)) {
Updater::deleteFiles($request->deleted_files);
Expand Down

0 comments on commit c908674

Please sign in to comment.