diff options
author | mat <github@matdoes.dev> | 2022-06-02 16:14:05 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-06-02 16:14:05 -0500 |
commit | aa76500cf0c3c6938a7b268a69a1c7cb67996186 (patch) | |
tree | 744d8012b8df109131fe94e16175001befe5724f /src | |
parent | 2049e002aa83778fff1b94fa624f95f702463031 (diff) | |
download | skyblock-api-aa76500cf0c3c6938a7b268a69a1c7cb67996186.tar.gz skyblock-api-aa76500cf0c3c6938a7b268a69a1c7cb67996186.tar.bz2 skyblock-api-aa76500cf0c3c6938a7b268a69a1c7cb67996186.zip |
move the return again to test something else
Diffstat (limited to 'src')
-rw-r--r-- | src/cleaners/achievements.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts index da0174e..8410d4e 100644 --- a/src/cleaners/achievements.ts +++ b/src/cleaners/achievements.ts @@ -32,7 +32,6 @@ export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataRe } const gameAchievements: typedHypixelApi.AchievementsResponse['achievements'] = await fetchAchievements() - return { tiered: [], challenge: [] } for (const [gameId, achievementsData] of Object.entries(gameAchievements)) { if (gameId !== 'skyblock') continue @@ -78,8 +77,11 @@ export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataRe lockedChallengeAchievements.push(achievement) } + // temporarily disabled + return { tiered: [], challenge: [] } return { - tiered: tieredAchievements, challenge: [ + tiered: tieredAchievements, + challenge: [ ...unlockedChallengeAchievements, ...lockedChallengeAchievements ] |