Skip to content

Commit a7b861a

Browse files
committed
fix: api get player types
1 parent 234e8d2 commit a7b861a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maimai_py/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ async def _get_regions(
341341
async def _get_players(
342342
provider: IPlayerProvider = Depends(dep_provider),
343343
player: PlayerIdentifier = Depends(dep_player),
344-
) -> Union[Player, DivingFishPlayer, LXNSPlayer, ArcadePlayer | dict]:
344+
) -> Union[Player, DivingFishPlayer, LXNSPlayer, ArcadePlayer, WechatPlayer, dict]:
345345
player_obj = await self._client.players(player, provider=provider)
346346
return asdict(player_obj)
347347

0 commit comments

Comments
 (0)