diff options
author | mat <github@matdoes.dev> | 2021-04-28 13:30:03 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-04-28 13:30:03 -0500 |
commit | 0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a (patch) | |
tree | f533a2706cb0d2bdd6f260cd0b040e834ea99931 /src/database.ts | |
parent | 8fb9391a1f5fac16afea25564a30c904020a3126 (diff) | |
download | skyblock-api-0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a.tar.gz skyblock-api-0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a.tar.bz2 skyblock-api-0668a6f1548a0e8a0ca5b45c1f582d593bb3b66a.zip |
remove some debug stuff
Diffstat (limited to 'src/database.ts')
-rw-r--r-- | src/database.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/database.ts b/src/database.ts index c715d52..6077025 100644 --- a/src/database.ts +++ b/src/database.ts @@ -261,7 +261,6 @@ async function fetchProfileLeaderboardRaw(name: string): Promise<DatabaseProfile .sort(sortQuery) .limit(leaderboardMax) .toArray() - console.log('leaderboardRaw', leaderboardRaw) cachedRawLeaderboards.set(name, leaderboardRaw) return leaderboardRaw @@ -333,7 +332,6 @@ export async function fetchProfileLeaderboard(name: string): Promise<ProfileLead /** Fetch a leaderboard */ export async function fetchLeaderboard(name: string): Promise<MemberLeaderboard|ProfileLeaderboard> { const profileLeaderboards = await fetchAllProfileLeaderboardAttributes() - console.log(name, profileLeaderboards, profileLeaderboards.includes(name)) if (profileLeaderboards.includes(name)) { return await fetchProfileLeaderboard(name) } else { |