From 79805c28584bf3f265e97353afeb5e8cea16fccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=92=95=E8=B0=B7=E9=85=B1?= Date: Tue, 23 Sep 2025 02:37:04 +0800 Subject: [PATCH] Update ranking.py --- app/router/v2/ranking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/router/v2/ranking.py b/app/router/v2/ranking.py index ffd61fa..cd76163 100644 --- a/app/router/v2/ranking.py +++ b/app/router/v2/ranking.py @@ -342,7 +342,7 @@ async def get_user_ranking( wheres = [ col(UserStatistics.mode) == ruleset, col(UserStatistics.pp) > 0, - col(UserStatistics.is_ranked) == True, + col(UserStatistics.is_ranked), ] include = ["user"] if sort == "performance":