diff --git a/app/Http/Controllers/FileController.php b/app/Http/Controllers/FileController.php index 63816f6..a132732 100644 --- a/app/Http/Controllers/FileController.php +++ b/app/Http/Controllers/FileController.php @@ -4,7 +4,7 @@ namespace App\Http\Controllers; use App\Models\File; use App\Models\Project; -use App\Rules\maxBound; +use App\Rules\MaxBound; use App\Models\Business; use Illuminate\Support\Str; use Illuminate\Http\Request; @@ -102,7 +102,7 @@ class FileController extends Controller $business = Business::findOrFail($business); $project = Project::findOrFail($project); - // $this->validate($request, ['file' => 'required|file',]); + $this->validate($request, ['file' => 'required|file',]); $file = $request->file('file'); $file_extension = $file->getClientOriginalExtension();