diff --git a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py index d141516..2b0a4f0 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/api/schemas/summaries/league.py @@ -35,7 +35,7 @@ class Data(BaseModel): gxe: float tr: float rank: Rank - bestrank: ValidRank = Field('z') + bestrank: Rank = Field('z') apm: float pps: float vs: float diff --git a/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py b/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py index 2c4cb0c..a561eb3 100644 --- a/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py +++ b/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio/user/info_v2.py @@ -53,7 +53,7 @@ class TetraLeagueStatistic(BaseModel): class TetraLeague(BaseModel): rank: Rank - highest_rank: ValidRank + highest_rank: Rank tr: Number