aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/skyblock/endedAuctions.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cleaners/skyblock/endedAuctions.ts b/src/cleaners/skyblock/endedAuctions.ts
index 0dfa0ab..0c61c6c 100644
--- a/src/cleaners/skyblock/endedAuctions.ts
+++ b/src/cleaners/skyblock/endedAuctions.ts
@@ -3,7 +3,7 @@ import { cleanInventory, headIdFromBase64, Item } from './inventory.js'
import { cleanItemId } from './itemId.js'
-interface Auction {
+interface EndedAuction {
id: string
sellerUuid: string
sellerProfileUuid: string
@@ -16,11 +16,11 @@ interface Auction {
export interface EndedAuctions {
lastUpdated: number
- auctions: Auction[]
+ auctions: EndedAuction[]
}
export async function cleanEndedAuctions(data: typedHypixelApi.SkyBlockRecentlyEndedAuctionsResponse): Promise<EndedAuctions> {
- const auctions: Auction[] = []
+ const auctions: EndedAuction[] = []
for (const auction of data.auctions) {
auctions.push({
id: auction.auction_id,