Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit efb7525

Browse files
committed
fix
1 parent 581a5ca commit efb7525

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

common/ripple/user_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,8 @@ async def recalculate_and_update_first_place_scores(user_id: int) -> None:
10091009
# Get the current first place.
10101010
existing_first_place = await glob.db.fetch(
10111011
f"""
1012-
SELECT scores_first.scoreid, scores_first.userid, scores.{order} AS score_value, time
1012+
SELECT scores_first.scoreid, scores_first.userid,
1013+
scores.{order} AS score_value, scores.time
10131014
FROM scores_first
10141015
INNER JOIN {table_name} AS scores ON scores.id = scores_first.scoreid
10151016
INNER JOIN users ON users.id = scores_first.userid

0 commit comments

Comments
 (0)