aboutsummaryrefslogtreecommitdiff
path: root/src/database.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/database.ts
parent39b7da9bbaa4d0dd77b2592e8ed71f631cd0ac0e (diff)
downloadskyblock-api-14622b310f170daa7d720da85c65a68dc6784702.tar.gz
skyblock-api-14622b310f170daa7d720da85c65a68dc6784702.tar.bz2
skyblock-api-14622b310f170daa7d720da85c65a68dc6784702.zip
fix constant cache
Diffstat (limited to 'src/database.ts')
-rw-r--r--src/database.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts
index e1fec7e..d3e2291 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -78,7 +78,7 @@ function getMemberLeaderboardAttributes(member: CleanMember) {
}
-export async function fetchAllLeaderboardsCategoriezed(): Promise<{ [ category: string ]: string[] }> {
+export async function fetchAllLeaderboardsCategorized(): Promise<{ [ category: string ]: string[] }> {
const memberLeaderboardAttributes = await fetchAllMemberLeaderboardAttributes()
const categorizedLeaderboards: { [ category: string ]: string[] } = {}
for (const leaderboard of memberLeaderboardAttributes) {