🐛 Fix the issue of incorrect parameter passing when using Field

This commit is contained in:
洛水居室 2023-07-18 12:58:02 +08:00
parent 83680dc77d
commit 08f42a47ee
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -177,7 +177,7 @@ class PartialGenshinUserStats(APIModel):
teapot (Optional[Teapot]): The user's Serenitea Teapot.
"""
info: UserInfo = Field("role")
info: UserInfo = Field(aliases="role")
stats: Stats
characters: List[PartialCharacter] = Field(aliases="avatars")
explorations: List[Exploration] = Field(aliases="world_explorations")