fix: Allow null values for upload and download bytes in user info
This commit is contained in:
@ -13,8 +13,8 @@ class UserInfoResponse(BaseModel):
|
|||||||
account_creation_date: str
|
account_creation_date: str
|
||||||
blocked: bool
|
blocked: bool
|
||||||
status: str
|
status: str
|
||||||
upload_bytes: int
|
upload_bytes: int | None = None
|
||||||
download_bytes: int
|
download_bytes: int | None = None
|
||||||
|
|
||||||
|
|
||||||
class UserListResponse(RootModel): # type: ignore
|
class UserListResponse(RootModel): # type: ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user