From 50339d5d36e8318565a8c55a83c53a1a055800dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luukas=20P=C3=B6rtfors?= Date: Sat, 16 Dec 2023 16:13:38 +0200 Subject: [PATCH] fix(database/leaderboards): actually use user id in PrivateLeaderboardMember --- src/database/leaderboards.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/database/leaderboards.rs b/src/database/leaderboards.rs index d59698a..28cc62e 100644 --- a/src/database/leaderboards.rs +++ b/src/database/leaderboards.rs @@ -338,7 +338,7 @@ impl super::DatabaseWrapper { for m in ms { if let Ok(user) = self.get_user_by_id(m.user_id).await { full.push(PrivateLeaderboardMember { - id: m.id, + id: m.user_id, username: user.username, admin: m.admin, time_coded: self