aboutsummaryrefslogtreecommitdiff
path: root/src/index.ts
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-28 21:22:48 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-28 21:22:48 -0600
commit14622b310f170daa7d720da85c65a68dc6784702 (patch)
tree32c7d59624a9e5eeff3c9edcce7e4c84944f9ff8 /src/index.ts
parent39b7da9bbaa4d0dd77b2592e8ed71f631cd0ac0e (diff)
downloadskyblock-api-14622b310f170daa7d720da85c65a68dc6784702.tar.gz
skyblock-api-14622b310f170daa7d720da85c65a68dc6784702.tar.bz2
skyblock-api-14622b310f170daa7d720da85c65a68dc6784702.zip
fix constant cache
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index f35363a..fa3b75f 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,6 +1,6 @@
import { fetchMemberProfile, fetchUser } from './hypixel'
import express from 'express'
-import { fetchAllLeaderboardsCategoriezed, fetchMemberLeaderboard } from './database'
+import { fetchAllLeaderboardsCategorized, 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 fetchAllLeaderboardsCategoriezed()
+ await fetchAllLeaderboardsCategorized()
)
})