diff --git a/app/Http/Controllers/ProjectController.php b/app/Http/Controllers/ProjectController.php index 9ecef9e7..32860280 100644 --- a/app/Http/Controllers/ProjectController.php +++ b/app/Http/Controllers/ProjectController.php @@ -12,7 +12,7 @@ public function store(Request $request) { $request->validate([ // TASK: Write the validation rule so "logo" file would be MAX 1 megabyte - // 'logo'=>File::max(1024) + 'logo'=>'max:1024' ]); // TASK: change the below line so that $filename would contain only filename