From 9fc89db0e52b4ce3311dbdd82b89f55476beecb5 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 27 Nov 2022 13:36:46 -0600 Subject: [PATCH] fix prev commit --- files/routes/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/events.py b/files/routes/events.py index 0c109d468..7ec6ad269 100644 --- a/files/routes/events.py +++ b/files/routes/events.py @@ -29,7 +29,7 @@ FULL OUTER JOIN ( SELECT user_id, COUNT(*) AS count_lost FROM bet_votes WHERE exclusive = 2 GROUP BY user_id) AS bet_lost ON bet_won.user_id = bet_lost.user_id -ORDER BY bets_won DESC, bets_total ASC;''') +ORDER BY bets_won DESC, bets_total ASC;''').all() if g.is_api_or_xhr: return jsonify(result) users = get_accounts_dict(result[0], v=v, include_shadowbanned=False) return render_template("events/worldcup22_leaderboard.html", v=v, result=result, users=users)