Hotfix: await team call

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Cal Corum 2025-10-21 14:58:30 -05:00
parent 225cbb8c3e
commit 267f14576a

View File

@ -202,7 +202,7 @@ class PlayerStatsView(BaseView):
# Add Major League affiliate if this is a Minor League team
if player.team.roster_type() == RosterType.MINOR_LEAGUE:
major_affiliate = player.team.major_league_affiliate()
major_affiliate = await player.team.major_league_affiliate()
if major_affiliate:
embed.add_field(
name="Major Affiliate",