diff options
Diffstat (limited to 'src/hypixelCached.ts')
-rw-r--r-- | src/hypixelCached.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts index f9bd53e..bc34ef0 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -10,6 +10,7 @@ import * as mojang from './mojang.js' import NodeCache from 'node-cache' import { debug } from './index.js' import LRUCache from 'lru-cache' +import { CleanBasicMember } from './cleaners/skyblock/member.js' // cache usernames for 30 minutes @@ -233,7 +234,7 @@ export async function fetchSkyblockProfiles(playerUuid: string): Promise<CleanPr const basicProfile: CleanProfile = { name: profile.name, uuid: profile.uuid, - members: profile.members?.map(m => { + members: profile.members?.map((m): CleanBasicMember => { return { uuid: m.uuid, username: m.username, |