diff --git a/scripts/sync-prices.ts b/scripts/sync-prices.ts index fad6e63..3fb17db 100644 --- a/scripts/sync-prices.ts +++ b/scripts/sync-prices.ts @@ -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, })