diff options
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r-- | src/hypixel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts index 95e4432..6fa544c 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -72,7 +72,7 @@ export async function sendCleanApiRequest<P extends keyof typeof cleanResponseFu const cleanResponseFunctions = { 'player': (data, options) => cleanPlayerResponse(data.player), 'skyblock/profile': (data: typedHypixelApi.SkyBlockProfileResponse, options) => cleanSkyblockProfileResponse(data.profile, options), - 'skyblock/profiles': (data, options) => cleanSkyblockProfilesResponse(data.profiles), + 'skyblock/profiles': (data, options) => cleanSkyblockProfilesResponse(data.profiles, options), 'skyblock/auctions_ended': (data, options) => cleanEndedAuctions(data), 'skyblock/auction': (data, options) => cleanAuctions(data, options.page ?? 0), 'resources/skyblock/election': (data, options) => cleanElectionResponse(data), |