diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts index a1da3e1..f35363a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { fetchMemberProfile, fetchUser } from './hypixel' import express from 'express' -import { fetchAllMemberLeaderboardAttributes, fetchMemberLeaderboard } from './database' +import { fetchAllLeaderboardsCategoriezed, fetchMemberLeaderboard } from './database' const app = express() @@ -42,7 +42,7 @@ app.get('/leaderboard/:name', async(req, res) => { app.get('/leaderboards', async(req, res) => { res.json( - await fetchAllMemberLeaderboardAttributes() + await fetchAllLeaderboardsCategoriezed() ) }) |