diff --git a/app/Http/Controllers/Api/V1/AuthenticatedUserController.php b/app/Http/Controllers/Api/V1/AuthenticatedUserController.php index 4084d6e..801f75f 100644 --- a/app/Http/Controllers/Api/V1/AuthenticatedUserController.php +++ b/app/Http/Controllers/Api/V1/AuthenticatedUserController.php @@ -47,7 +47,7 @@ public function putSettings(SettingsRequest $request): JsonResponse ->user() ->refresh(); - $settings = $request->user()->settings()->where(['channel_id', '=', $validatedSettings['channel_id']]) + $settings = $request->user()->settings()->where('channel_id', '=', $validatedSettings['channel_id']) ->with('occupation', 'color', 'effect') ->first();