Skip to content

Commit

Permalink
Update player.py (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all authored Nov 14, 2023
1 parent 0f1ce54 commit 61d90a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/models/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def get_report_score(self, player_names: tuple[str]):
reporting_player, dbReport.reportingID == reporting_player.id
)
query = query.join(reported_player, dbReport.reportedID == reported_player.id)
query = query.where(dbPlayer.name.in_(player_names))
query = query.where(reporting_player.name.in_(player_names))
query = query.group_by(
reported_player.possible_ban,
reported_player.confirmed_ban,
Expand Down

0 comments on commit 61d90a5

Please sign in to comment.