aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/member.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/skyblock/member.ts')
-rw-r--r--src/cleaners/skyblock/member.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/member.ts b/src/cleaners/skyblock/member.ts
index 6642976..57462ed 100644
--- a/src/cleaners/skyblock/member.ts
+++ b/src/cleaners/skyblock/member.ts
@@ -79,6 +79,7 @@ export async function cleanSkyBlockProfileMemberResponse(member: typedHypixelApi
const petsPromise = cleanPets(member)
const harpPromise = cleanHarp(member)
const inventoriesPromise = inventoriesIncluded ? cleanInventories(member) : Promise.resolve(undefined)
+ const farmingContestsPromise = cleanFarmingContests(member)
return {
uuid: member.uuid,
@@ -106,7 +107,7 @@ export async function cleanSkyBlockProfileMemberResponse(member: typedHypixelApi
pets: await petsPromise,
harp: await harpPromise,
coopInvitation: await coopInvitationPromise,
- farmingContests: cleanFarmingContests(member),
+ farmingContests: await farmingContestsPromise,
left: (player.profiles?.find(profile => profile.uuid === profileId) === undefined) ?? false
}