We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4aff26 commit f0cabe5Copy full SHA for f0cabe5
server/logic.ts
@@ -930,7 +930,6 @@ export class Logic {
930
const priceToScorePerMs = (price: number, maxPrice?: number): number => {
931
return (maxPrice !== undefined && price > maxPrice) ? price * OVERPRICE_PENALTY_FACTOR : price;
932
};
933
-
934
const price_data: { ts: Date; price: number }[] = ( location_uuid && (await this.db.pg.manyOrNone(
935
`SELECT ts, price FROM price_data p JOIN location l ON (l.price_list_uuid = p.price_list_uuid) WHERE location_uuid = $1 AND ts >= NOW() ORDER BY ts`,
936
[location_uuid]
0 commit comments