[bugfix] fixed lowestPrice and highestPrice field names in sync-prices
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user