From ed16693856de191361c1ab4d6cb5f653868185dd Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 29 Apr 2021 13:05:06 -0500 Subject: rename minion_count to unique_minions --- src/database.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 { /** Fetch the names of all the leaderboards that rank profiles */ async function fetchAllProfileLeaderboardAttributes(): Promise { return [ - 'minion_count' + 'unique_minions' ] } -- cgit