aboutsummaryrefslogtreecommitdiff
path: root/src/database.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.ts')
-rw-r--r--src/database.ts2
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 {