aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-04-29 13:05:06 -0500
committermat <github@matdoes.dev>2021-04-29 13:05:06 -0500
commited16693856de191361c1ab4d6cb5f653868185dd (patch)
treea0fdc720b342d8dc459d8d8cfd8a8e6c83d964c7 /src
parent0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a (diff)
downloadskyblock-api-ed16693856de191361c1ab4d6cb5f653868185dd.tar.gz
skyblock-api-ed16693856de191361c1ab4d6cb5f653868185dd.tar.bz2
skyblock-api-ed16693856de191361c1ab4d6cb5f653868185dd.zip
rename minion_count to unique_minions
Diffstat (limited to 'src')
-rw-r--r--src/database.ts4
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'
]
}