diff options
author | mat <github@matdoes.dev> | 2021-04-29 13:05:06 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-04-29 13:05:06 -0500 |
commit | ed16693856de191361c1ab4d6cb5f653868185dd (patch) | |
tree | a0fdc720b342d8dc459d8d8cfd8a8e6c83d964c7 /build | |
parent | 0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a (diff) | |
download | skyblock-api-ed16693856de191361c1ab4d6cb5f653868185dd.tar.gz skyblock-api-ed16693856de191361c1ab4d6cb5f653868185dd.tar.bz2 skyblock-api-ed16693856de191361c1ab4d6cb5f653868185dd.zip |
rename minion_count to unique_minions
Diffstat (limited to 'build')
-rw-r--r-- | build/database.js | 4 |
1 files changed, 2 insertions, 2 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) { |