aboutsummaryrefslogtreecommitdiff
path: root/src/hypixel.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-12-25 00:44:51 -0600
committermat <github@matdoes.dev>2022-12-25 00:44:51 -0600
commit58fc378174faf11391885281759caa39d9b324cc (patch)
tree239317f402ddfe663d2f173ea9baa54110a24e3b /src/hypixel.ts
parent30299473e6b14fc3bd8254e2a71043a9151073a5 (diff)
downloadskyblock-api-58fc378174faf11391885281759caa39d9b324cc.tar.gz
skyblock-api-58fc378174faf11391885281759caa39d9b324cc.tar.bz2
skyblock-api-58fc378174faf11391885281759caa39d9b324cc.zip
fix lastsave
hypixel moved it a while ago and i hadn't bothered fixing it
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r--src/hypixel.ts2
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),