From 11f0b9762dd85adfbe746c4c7406410ea0fdd8a7 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 1 Jul 2022 18:56:46 -0500 Subject: return Auctions instead of Auction[] --- src/hypixel.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/hypixel.ts') diff --git a/src/hypixel.ts b/src/hypixel.ts index bb07968..3569466 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -33,7 +33,7 @@ import * as cached from './hypixelCached.js' import { debug } from './index.js' import { WithId } from 'mongodb' import { cleanEndedAuctions } from './cleaners/skyblock/endedAuctions.js' -import { Auction, cleanAuctions } from './cleaners/skyblock/auctions.js' +import { Auctions, cleanAuctions } from './cleaners/skyblock/auctions.js' import { withCache } from './util.js' import { Item } from './cleaners/skyblock/inventory.js' @@ -486,7 +486,7 @@ async function fetchAuctionItemsUncached() { return idsToData } -export async function fetchPlayerAuctions(user: string, page: number): Promise { +export async function fetchPlayerAuctions(user: string, page: number): Promise { const playerUuid = await cached.uuidFromUser(user) if (!playerUuid) return null @@ -495,5 +495,5 @@ export async function fetchPlayerAuctions(user: string, page: number): Promise