fix: Allow null values for upload and download bytes in user info

This commit is contained in:
Whispering Wind
2025-04-12 11:38:07 +03:30
committed by GitHub
parent 580fe5e487
commit 3eea66a6f5

View File

@ -13,8 +13,8 @@ class UserInfoResponse(BaseModel):
account_creation_date: str
blocked: bool
status: str
upload_bytes: int
download_bytes: int
upload_bytes: int | None = None
download_bytes: int | None = None
class UserListResponse(RootModel): # type: ignore