Skip to content

Commit

Permalink
Fix validation error on UserInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Nov 24, 2024
1 parent d1726ca commit 2ca07e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genshin/models/hoyolab/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2ca07e1

Please sign in to comment.