Skip to content

Commit

Permalink
fix: payload to update user
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhe4rt committed Aug 27, 2024
1 parent 862429c commit 1212a69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 1212a69

Please sign in to comment.