diff options
Diffstat (limited to 'src/cleaners/skyblock/fairysouls.ts')
-rw-r--r-- | src/cleaners/skyblock/fairysouls.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/fairysouls.ts b/src/cleaners/skyblock/fairysouls.ts index 67de0dd..92b1eff 100644 --- a/src/cleaners/skyblock/fairysouls.ts +++ b/src/cleaners/skyblock/fairysouls.ts @@ -1,3 +1,4 @@ +import typedHypixelApi from 'typed-hypixel-api' import * as constants from '../../constants.js' export interface FairySouls { @@ -9,7 +10,7 @@ export interface FairySouls { max: number } -export async function cleanFairySouls(data: any): Promise<FairySouls> { +export async function cleanFairySouls(data: typedHypixelApi.SkyBlockProfileMember): Promise<FairySouls> { const { max_fairy_souls } = await constants.fetchConstantValues() return { total: data?.fairy_souls_collected ?? 0, |