aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/skyblock')
-rw-r--r--src/cleaners/skyblock/farmingContents.ts2
-rw-r--r--src/cleaners/skyblock/member.ts8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/cleaners/skyblock/farmingContents.ts b/src/cleaners/skyblock/farmingContents.ts
index c10408d..9b34ba2 100644
--- a/src/cleaners/skyblock/farmingContents.ts
+++ b/src/cleaners/skyblock/farmingContents.ts
@@ -23,7 +23,7 @@ export interface FarmingContests {
list: PlayerFarmingContestStats[]
}
-export function cleanFarmingContest(data: typedHypixelApi.SkyBlockProfileMember): FarmingContests {
+export function cleanFarmingContests(data: typedHypixelApi.SkyBlockProfileMember): FarmingContests {
if (!data.jacob2) return {
talkedToJacob: false,
list: []
diff --git a/src/cleaners/skyblock/member.ts b/src/cleaners/skyblock/member.ts
index a2010da..9306c59 100644
--- a/src/cleaners/skyblock/member.ts
+++ b/src/cleaners/skyblock/member.ts
@@ -1,3 +1,4 @@
+import { cleanFarmingContests, FarmingContests } from './farmingContents.js'
import { cleanCoopInvitation, CoopInvitation } from './coopInvitation.js'
import { cleanCollections, Collection } from './collections.js'
import { cleanInventories, Inventories } from './inventory.js'
@@ -8,7 +9,6 @@ import { cleanProfileStats, StatItem } from './stats.js'
import { CleanMinion, cleanMinions } from './minions.js'
import { cleanSlayers, SlayerData } from './slayers.js'
import { AccountCustomization } from '../../database.js'
-import { cleanFarmingContest, FarmingContests } from './farmingContents.js'
import { cleanVisitedZones, Zone } from './zones.js'
import { cleanSkills, Skill } from './skills.js'
import * as cached from '../../hypixelCached.js'
@@ -44,7 +44,7 @@ export interface CleanMember extends CleanBasicMember {
pets: PetsData
harp: HarpData
coopInvitation: CoopInvitation | null
- farmingContest: FarmingContests
+ farmingContests: FarmingContests
/** Whether the user left the coop */
left: boolean
}
@@ -98,7 +98,7 @@ export async function cleanSkyBlockProfileMemberResponse(member: typedHypixelApi
pets: await cleanPets(member),
harp: await cleanHarp(member),
coopInvitation: cleanCoopInvitation(member),
- farmingContest: cleanFarmingContest(member),
+ farmingContests: cleanFarmingContests(member),
left: (player.profiles?.find(profile => profile.uuid === profileId) === undefined) ?? false
}
@@ -124,7 +124,7 @@ export interface CleanMemberProfilePlayer extends CleanPlayer {
pets: PetsData
harp: HarpData
coopInvitation: CoopInvitation | null
- farmingContest: FarmingContests
+ farmingContests: FarmingContests
}
export interface CleanMemberProfile {