Skip to content

Commit

Permalink
chore: updated leaderboard points fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
KreativeThinker committed Jan 9, 2024
1 parent 614237c commit 501d079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pwncore/routes/leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ async def fetch_leaderboard():
.annotate(team_points=Sum("solved_problem__problem__points"))
.values_list("name", "team_points")
)
points = sorted(points, key=lambda x: x[0], reverse=True)
# points = sorted(points, key=lambda x: x[0], reverse=True)
return points

0 comments on commit 501d079

Please sign in to comment.