Skip to content

Commit

Permalink
Fix AttributeError in get_team_game_session.
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-jvessella committed Feb 5, 2024
1 parent f85c644 commit 1391eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gamebrain/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ async def get_team_game_session(team_id: str):
return (
await DBManager.get_rows(
DBManager.GameSession,
DBManager.GameSession.id == team.game_session_id,
DBManager.GameSession.id == team["game_session_id"],
DBManager.GameSession.active == True,
)
).pop()
Expand Down

0 comments on commit 1391eec

Please sign in to comment.