diff options
Diffstat (limited to 'build/database.js')
-rw-r--r-- | build/database.js | 4 |
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; |