public function updateAvatar(UpdateAvatar $request): JsonResource 	{ 		$user = $request->user();  		$user->update([ 			'avatar' => $user->storage()->deleteFiles('avatar')->handle()->getFirstThumb('avatar'), 		]);  		return $user->getModelResource(); 	}