aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-27 13:09:38 -0500
committermat <github@matdoes.dev>2022-03-27 13:09:38 -0500
commita02f03a0625885cbc41e95c09ecd9178b27adda2 (patch)
tree8f7d042cf9405038c46a7ff3bc64193df3696ca7 /src
parentb48e0ba124ce70ff18948c4998efa20fa6c3731e (diff)
downloadskyblock-api-a02f03a0625885cbc41e95c09ecd9178b27adda2.tar.gz
skyblock-api-a02f03a0625885cbc41e95c09ecd9178b27adda2.tar.bz2
skyblock-api-a02f03a0625885cbc41e95c09ecd9178b27adda2.zip
fix issues with test
Diffstat (limited to 'src')
-rw-r--r--src/hypixelApi.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hypixelApi.ts b/src/hypixelApi.ts
index 3a9cf95..adc6378 100644
--- a/src/hypixelApi.ts
+++ b/src/hypixelApi.ts
@@ -100,7 +100,6 @@ export interface HypixelPlayerSocialMedia {
/** Send an HTTP request to the Hypixel API */
export let sendApiRequest = async<P extends keyof typedHypixelApi.Requests>(path: P, options: typedHypixelApi.Requests[P]['options']): Promise<typedHypixelApi.Requests[P]['response']> => {
// Send a raw http request to api.hypixel.net, and return the parsed json
-
let response: typedHypixelApi.Requests[P]['response']
try {
response = await typedHypixelApi.request(