update($request->user(), $request->validated()); return response()->json(UserResource::make($user)->resolve()); } }