From 4941e756831f3bac8968cb1b77224f51f01cb9ea Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 1 Jul 2026 15:56:16 +0000 Subject: [PATCH] fix(epc): follow energyMainsGas rename in new-approach resolver The merge of main renamed epc_property.energyMainsGas -> energyGasConnectionAvailable (migration 0252), but the new-approach resolver read the old property name, which main never touched so it survived the merge with no conflict and broke the build. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/lib/services/epcSources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/services/epcSources.ts b/src/lib/services/epcSources.ts index d1a77dc0..d644a1a9 100644 --- a/src/lib/services/epcSources.ts +++ b/src/lib/services/epcSources.ts @@ -355,7 +355,7 @@ async function resolveNewConditionReport( numberHeatedRooms: chosen.heatedRoomsCount ?? null, numberOpenFireplaces: chosen.openChimneysCount ?? null, numberExtensions: chosen.extensionsCount ?? null, - mainsGas: chosen.energyMainsGas ?? null, + mainsGas: chosen.energyGasConnectionAvailable ?? null, // GAP: no energy tariff in the new graph — omitted. energyTariff: null, currentEnergyDemand: sumKwh,