diff options
author | mat <github@matdoes.dev> | 2021-05-31 00:01:06 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-31 00:01:06 -0500 |
commit | 5d6682ccc27b752902912cfe18a665662290d7fb (patch) | |
tree | bd2fced0617610dcfe85426ecbb8367f4495a62b /src/index.ts | |
parent | 5541e5d3b99cbf5ed0436e89f0c4ccabf64e400a (diff) | |
download | skyblock-api-5d6682ccc27b752902912cfe18a665662290d7fb.tar.gz skyblock-api-5d6682ccc27b752902912cfe18a665662290d7fb.tar.bz2 skyblock-api-5d6682ccc27b752902912cfe18a665662290d7fb.zip |
removed fetching all the members in all of the leaderboards
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/index.ts b/src/index.ts index 642e9b3..389a1fe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { createSession, fetchAccount, fetchAccountFromDiscord, fetchAllLeaderboardsCategorized, fetchLeaderboard, fetchMemberLeaderboardSpots, fetchSession, finishedCachingAllLeaderboards, finishedCachingRawLeaderboards, updateAccount } from './database' +import { createSession, fetchAccountFromDiscord, fetchAllLeaderboardsCategorized, fetchLeaderboard, fetchMemberLeaderboardSpots, fetchSession, finishedCachingRawLeaderboards, updateAccount } from './database' import { fetchMemberProfile, fetchUser } from './hypixel' import rateLimit from 'express-rate-limit' import * as constants from './constants' @@ -36,8 +36,7 @@ app.get('/', async(req, res) => { res.json({ ok: true, uptimeHours: (currentTime - startTime) / 1000 / 60 / 60, - finishedCachingRawLeaderboards, - finishedCachingAllLeaderboards + finishedCachingRawLeaderboards }) }) |