Skip to content

Commit

Permalink
Merge pull request #100 from lajp/leaderboard-hotfix
Browse files Browse the repository at this point in the history
fix(database/leaderboards): actually use user id in PrivateLeaderboardMember
  • Loading branch information
lajp authored Dec 16, 2023
2 parents f1c3c6a + 50339d5 commit 8e9ee0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/leaderboards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8e9ee0e

Please sign in to comment.