Replace size rule for uploading file to ImportController with max because it doesn't work like expected
MODIFY
app/Http/Controllers/ImportController.php
app/Http/Controllers/ImportController.php
@@ -21,7 +21,7 @@ class ImportController extends Controller {
public function store(Request $request) {
$request->validate([
'name' => 'required|max:255',
- 'file' => 'required|size:200' // TODO VALIDATE CSV
+ 'file' => 'required|max:200' // TODO VALIDATE CSV
]);
$path = $request->file('file')->store('imports');

Replace size rule for uploading file to ImportController with max because it doesn't work like expected