aboutsummaryrefslogtreecommitdiff
path: root/build/database.js
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-28 20:43:36 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-28 20:43:36 -0600
commita9c51ee15186452696bd46c1eccab506cff6286a (patch)
treeff67e8585840109a97f9ffc1092a32cd5a06eb3d /build/database.js
parentd78d095352806fd1e9be4cfc44a0873ca1dce210 (diff)
parent6ac94af696c827c6dab8231142024a5e255ed802 (diff)
downloadskyblock-api-a9c51ee15186452696bd46c1eccab506cff6286a.tar.gz
skyblock-api-a9c51ee15186452696bd46c1eccab506cff6286a.tar.bz2
skyblock-api-a9c51ee15186452696bd46c1eccab506cff6286a.zip
Merge branch 'main' of https://github.com/skyblockstats/skyblock-api into main
Diffstat (limited to 'build/database.js')
-rw-r--r--build/database.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/database.js b/build/database.js
index e7f7385..d30b161 100644
--- a/build/database.js
+++ b/build/database.js
@@ -85,6 +85,10 @@ async function fetchAllLeaderboardsCategoriezed() {
categorizedLeaderboards[category] = [];
categorizedLeaderboards[category].push(leaderboard);
}
+ // move misc to end by removing and readding it
+ const misc = categorizedLeaderboards.misc;
+ delete categorizedLeaderboards.misc;
+ categorizedLeaderboards.misc = misc;
return categorizedLeaderboards;
}
exports.fetchAllLeaderboardsCategoriezed = fetchAllLeaderboardsCategoriezed;