diff --git a/backend/app/api/v1/landing.py b/backend/app/api/v1/landing.py index 01e03c61..bccced3d 100644 --- a/backend/app/api/v1/landing.py +++ b/backend/app/api/v1/landing.py @@ -54,7 +54,7 @@ def _query_stats(db: Session) -> dict[str, Any] | None: row_price = db.execute( text( "SELECT" - " COUNT(*) FILTER (WHERE price_per_m2 IS NOT NULL) * 100.0" + " COUNT(*) FILTER (WHERE price_per_m2_rub IS NOT NULL) * 100.0" " / NULLIF(COUNT(*), 0)" " FROM objective_lots" )