diff options
author | mat <github@matdoes.dev> | 2022-05-17 23:36:33 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-05-17 23:36:33 -0500 |
commit | 05bc6aeec8056378732814dcd780441a031223b0 (patch) | |
tree | 4cc6426db60fcac957491b2755a24b8c305881b2 | |
parent | fbeda39dcffb27ff5aaa0697f2c55d2e1dcc7fd2 (diff) | |
download | skyblock-api-05bc6aeec8056378732814dcd780441a031223b0.tar.gz skyblock-api-05bc6aeec8056378732814dcd780441a031223b0.tar.bz2 skyblock-api-05bc6aeec8056378732814dcd780441a031223b0.zip |
divide price by count for auction prices
-rw-r--r-- | src/hypixel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts index b579059..82c315d 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -369,7 +369,7 @@ export async function periodicallyFetchRecentlyEndedAuctions() { const simpleAuction: SimpleAuctionSchema = { s: true, - coins: auction.coins, + coins: auction.coins / auction.item.count, id: auction.id, ts: Math.floor(auction.timestamp / 1000), bin: auction.bin, |