aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-05-17 20:09:08 +0000
committermat <github@matdoes.dev>2022-05-17 20:09:08 +0000
commit18291657ff34b5a28479265b6aa56c6d0e052c04 (patch)
tree4f7d52c96cb22eed7cc92441ca2c5ae363f5a23a /src
parent4191b814ba344838f09fbd2f499e88ac31bdc4c7 (diff)
downloadskyblock-api-18291657ff34b5a28479265b6aa56c6d0e052c04.tar.gz
skyblock-api-18291657ff34b5a28479265b6aa56c6d0e052c04.tar.bz2
skyblock-api-18291657ff34b5a28479265b6aa56c6d0e052c04.zip
fix bug: the finale
Diffstat (limited to 'src')
-rw-r--r--src/hypixel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index 2fdc94d..c909a17 100644
--- a/src/hypixel.ts
+++ b/src/hypixel.ts
@@ -483,7 +483,7 @@ export async function fetchAuctionItems() {
cachedAuctionItemListData = Object.fromEntries(itemList)
// updates every 60 minutes
nextAuctionItemListUpdate = new Date(Date.now() + 10 * 60 * 1000);
- return itemList
+ return cachedAuctionItemListData
}
async function fetchAuctionItemsUncached() {