From 14622b310f170daa7d720da85c65a68dc6784702 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sun, 28 Feb 2021 21:22:48 -0600 Subject: fix constant cache --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/index.ts') 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() ) }) -- cgit