From 08f42a47eef4cf395f6910cfab1f6712ba6a48b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Tue, 18 Jul 2023 12:58:02 +0800 Subject: [PATCH] :bug: Fix the issue of incorrect parameter passing when using Field --- simnet/models/genshin/chronicle/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simnet/models/genshin/chronicle/stats.py b/simnet/models/genshin/chronicle/stats.py index 6386b2e..5a99db5 100644 --- a/simnet/models/genshin/chronicle/stats.py +++ b/simnet/models/genshin/chronicle/stats.py @@ -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")