diff --git a/app/Http/Controllers/IconController.php b/app/Http/Controllers/IconController.php index 956286ca..84b1787f 100644 --- a/app/Http/Controllers/IconController.php +++ b/app/Http/Controllers/IconController.php @@ -23,7 +23,7 @@ public function upload(Request $request) 'icon' => 'required|image', ]); - $path = $request->file('icon')->storePublicly('public/icons'); + $path = $request->file('icon')->store('public/icons'); return response()->json(pathinfo($path)['basename'], 201); }