From 13f65629e13376e1d0810af394747dec05f72c8a Mon Sep 17 00:00:00 2001 From: Wv5twkFEKh54vo4tta9yu7dHa3 <61561059+Wv5twkFEKh54vo4tta9yu7dHa3@users.noreply.github.com> Date: Thu, 9 Sep 2021 14:51:38 +0200 Subject: [PATCH] Fix error 500 on image upload Without this missing import, the server threw "Class 'App\Http\Controllers\Api\UserSetting' not found" when trying to upload images. --- app/Http/Controllers/Api/ApiV1Controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/Controllers/Api/ApiV1Controller.php b/app/Http/Controllers/Api/ApiV1Controller.php index 4e7ad2bb8..5f85e7226 100644 --- a/app/Http/Controllers/Api/ApiV1Controller.php +++ b/app/Http/Controllers/Api/ApiV1Controller.php @@ -21,6 +21,7 @@ use App\{ Status, StatusHashtag, User, + UserSetting, UserFilter, }; use League\Fractal;