From 70b0706973d9d856ca9f136df23a6fbec0901aea Mon Sep 17 00:00:00 2001 From: l3wdfut4pwr Date: Thu, 9 Apr 2026 15:21:30 +0300 Subject: update settings --- app/schemas/user.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/schemas/user.py') diff --git a/app/schemas/user.py b/app/schemas/user.py index 83a3245..d809196 100644 --- a/app/schemas/user.py +++ b/app/schemas/user.py @@ -20,14 +20,15 @@ class UserCreate(BaseModel): class UserRead(BaseModel): id: int username: str - email: EmailStr = None + email: Optional[EmailStr] = None google_id: Optional[str] = None avatar_file: Optional[str] = None banner_file: Optional[str] = None + has_password: bool premium: bool is_banned: bool is_moderator: bool - profile: Optional[ProfileRead] = None + profile: ProfileRead integrations: Optional[UserIntegrationRead] = None model_config = { "from_attributes": True, -- cgit v1.3-3-g829e