This commit is contained in:
咕谷酱
2025-08-18 17:15:43 +08:00
10 changed files with 280 additions and 27 deletions

View File

@@ -121,7 +121,13 @@ async def submit_score(
score_id = score.id
score_token.score_id = score_id
await process_user(
db, current_user, score, beatmap_length, has_pp, has_leaderboard
db,
current_user,
score,
token,
beatmap_length,
has_pp,
has_leaderboard,
)
score = (await db.exec(select(Score).where(Score.id == score_id))).first()
assert score is not None