aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hypixel.ts1
-rw-r--r--src/hypixelApi.ts1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index bfb826e..bea64fb 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -38,7 +38,6 @@ export async function sendCleanApiRequest({ path, args }, included?: Included[],
await new Promise(resolve => setTimeout(resolve, 1000))
return await sendCleanApiRequest({ path, args }, included, options)
}
-
// clean the response
return await cleanResponse({ path, data: rawResponse }, options ?? {})
}
diff --git a/src/hypixelApi.ts b/src/hypixelApi.ts
index 886b261..25ab68b 100644
--- a/src/hypixelApi.ts
+++ b/src/hypixelApi.ts
@@ -158,6 +158,7 @@ export async function sendApiRequest({ path, key, args }): Promise<HypixelRespon
{ agent: () => httpsAgent }
)
fetchJsonParsed = await fetchResponse.json()
+ console.log('gotten api response', fetchJsonParsed)
} catch {
// if there's an error, wait a second and try again
await new Promise((resolve) => setTimeout(resolve, 1000))