aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/achievements.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-06-01 21:52:26 -0500
committermat <github@matdoes.dev>2022-06-01 21:52:26 -0500
commit73829d9e24e3d98104393624da7dade3a7eb03a1 (patch)
tree0104fefb9b8ab79a98edeff912007fb04340bc34 /src/cleaners/achievements.ts
parentfb4d24aba38f8dfc6988ff800e0451702db11790 (diff)
downloadskyblock-api-73829d9e24e3d98104393624da7dade3a7eb03a1.tar.gz
skyblock-api-73829d9e24e3d98104393624da7dade3a7eb03a1.tar.bz2
skyblock-api-73829d9e24e3d98104393624da7dade3a7eb03a1.zip
Revert "Re-enable achievements"
This reverts commit fb4d24aba38f8dfc6988ff800e0451702db11790.
Diffstat (limited to 'src/cleaners/achievements.ts')
-rw-r--r--src/cleaners/achievements.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts
index edb4d07..8ab3445 100644
--- a/src/cleaners/achievements.ts
+++ b/src/cleaners/achievements.ts
@@ -27,6 +27,10 @@ export interface Achievements {
}
export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataResponse['player']): Promise<Achievements> {
+ // temporarily disabled because this might be causing high memory usage?
+ return { tiered: [], challenge: [] }
+
+
if (!data.achievements) {
return { tiered: [], challenge: [] }
}