[bugfix] fixed lowestPrice and highestPrice field names in sync-prices

This commit is contained in:
2026-02-26 20:44:10 -05:00
parent ff0ddb2278
commit 538416c22a

View File

@@ -53,8 +53,8 @@ async function syncPrices() {
await db.update(skus)
.set({
marketPrice: sku.marketPrice,
lowestPrice: sku.lowPrice,
highestPrice: sku.highPrice,
lowestPrice: sku.lowestPrice,
highestPrice: sku.highestPrice,
priceCount: sku.priceCount,
calculatedAt: sku.calculatedAt ? new Date(sku.calculatedAt) : null,
})