mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-22 08:48:34 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
parent
59297c3495
commit
4941e75683
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue