🐛 Fixed auth errors (#300)

Resolves issue #299.

int | str is used instead of updating the type to only "str" because the API change appears to have been introduced quietly and may revert in the future. Since the exact type of these fields is not critical for the library, supporting both types provides a safer and more resilient approach.
This commit is contained in:
nikudaorg
2026-03-08 08:53:05 +02:00
committed by GitHub
parent ee7e079a27
commit 3948c79412
+3 -3
View File
@@ -17,12 +17,12 @@ class AuthResponse(BaseModel):
postalcode: Optional[str]
usState: Optional[str]
phoneNumber: Optional[str]
birthday: Optional[int]
birthday: Optional[int | str]
channelId: int
parentId: int
acceptedEULA: bool
created: int
updated: int
created: int | str
updated: int | str
facebookUid: int
appleUid: Optional[str]
googleUid: Optional[str]