aboutsummaryrefslogtreecommitdiff
path: root/src/hypixel.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-17 18:31:31 +0000
committermat <github@matdoes.dev>2022-05-17 18:31:31 +0000
commitea4a258a5cae4204ec5f3d700fbbda3982040ab7 (patch)
tree69e74af95ece42eae36dda4624201443fcd15612 /src/hypixel.ts
parent8e0c3cb608041c8f3d28d1bcaf6f0d4e159e688f (diff)
downloadskyblock-api-ea4a258a5cae4204ec5f3d700fbbda3982040ab7.tar.gz
skyblock-api-ea4a258a5cae4204ec5f3d700fbbda3982040ab7.tar.bz2
skyblock-api-ea4a258a5cae4204ec5f3d700fbbda3982040ab7.zip
fix bug: the movie
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 ef16810..ce6f8b7 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -477,8 +477,8 @@ export async function fetchAuctionItems() {
isFetchingAuctionItemList = true
const itemList = await fetchAuctionItemsUncached()
- if (!itemList) return undefined
isFetchingAuctionItemList = false
+ if (!itemList) return undefined
cachedAuctionItemListData = itemList
// updates every 60 minutes