diff options
-rw-r--r-- | build/database.js | 4 | ||||
-rw-r--r-- | src/database.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/build/database.js b/build/database.js index f3eda16..45b0179 100644 --- a/build/database.js +++ b/build/database.js @@ -111,7 +111,7 @@ function getMemberLeaderboardAttributes(member) { function getProfileLeaderboardAttributes(profile) { // 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 }; } async function fetchAllLeaderboardsCategorized() { @@ -171,7 +171,7 @@ exports.fetchAllMemberLeaderboardAttributes = fetchAllMemberLeaderboardAttribute /** Fetch the names of all the leaderboards that rank profiles */ async function fetchAllProfileLeaderboardAttributes() { return [ - 'minion_count' + 'unique_minions' ]; } function isLeaderboardReversed(name) { 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' ] } |