diff options
Diffstat (limited to 'src/database.ts')
-rw-r--r-- | src/database.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.ts b/src/database.ts index 6077025..8aa334a 100644 --- a/src/database.ts +++ b/src/database.ts @@ -135,7 +135,7 @@ function getMemberLeaderboardAttributes(member: CleanMember): StringNumber { function getProfileLeaderboardAttributes(profile: CleanFullProfile): StringNumber { // if you want to add a new leaderboard for member attributes, add it here (and getAllLeaderboardAttributes) return { - minion_count: profile.minion_count + unique_minions: profile.minion_count } } @@ -206,7 +206,7 @@ export async function fetchAllMemberLeaderboardAttributes(): Promise<string[]> { /** Fetch the names of all the leaderboards that rank profiles */ async function fetchAllProfileLeaderboardAttributes(): Promise<string[]> { return [ - 'minion_count' + 'unique_minions' ] } |