aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/member.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-30 17:52:13 +0000
committermat <github@matdoes.dev>2022-03-30 17:52:13 +0000
commit458968d7ffaedb49b7527cc367028167dfbeaa0c (patch)
treec4976686a48b806f1fb1de4ea400487c1031842a /src/cleaners/skyblock/member.ts
parent5b86305771230e238c20c2311dd3ceef7bd858e6 (diff)
downloadskyblock-api-458968d7ffaedb49b7527cc367028167dfbeaa0c.tar.gz
skyblock-api-458968d7ffaedb49b7527cc367028167dfbeaa0c.tar.bz2
skyblock-api-458968d7ffaedb49b7527cc367028167dfbeaa0c.zip
rename farmingContest to farmingContests
Diffstat (limited to 'src/cleaners/skyblock/member.ts')
-rw-r--r--src/cleaners/skyblock/member.ts8
1 files changed, 4 insertions, 4 deletions
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 {