aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/achievements.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts
index 8ab3445..da0174e 100644
--- a/src/cleaners/achievements.ts
+++ b/src/cleaners/achievements.ts
@@ -27,15 +27,12 @@ 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: [] }
}
const gameAchievements: typedHypixelApi.AchievementsResponse['achievements'] = await fetchAchievements()
+ return { tiered: [], challenge: [] }
for (const [gameId, achievementsData] of Object.entries(gameAchievements)) {
if (gameId !== 'skyblock') continue