From 2ca07e1b29a9652356defa158860d60faad8b440 Mon Sep 17 00:00:00 2001 From: seria Date: Sun, 24 Nov 2024 10:16:35 +0800 Subject: [PATCH] Fix validation error on UserInfo --- genshin/models/hoyolab/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genshin/models/hoyolab/record.py b/genshin/models/hoyolab/record.py index 84a23457..e4eea289 100644 --- a/genshin/models/hoyolab/record.py +++ b/genshin/models/hoyolab/record.py @@ -62,7 +62,7 @@ class UserInfo(APIModel): server: str = Aliased("region") level: int icon: str = Aliased("AvatarUrl") - in_game_avatar: str = Aliased("game_head_icon") + in_game_avatar: typing.Optional[str] = Aliased("game_head_icon") class RecordCardData(APIModel):