Skip to content

Commit 8ae1122

Browse files
committed
fix
1 parent 25486ef commit 8ae1122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nowcasting_datamodel/save/update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def update_forecast_latest(
114114
forecast_value,
115115
gsp_id=forecast.location.gsp_id,
116116
forecast_id=forecast_historic.id,
117-
model_id=forecast.model_id,
117+
model_id=forecast_historic.model_id,
118118
)
119119
logger.debug(f"{forecast_historic.model_id=}")
120120
forecast_values.append(forecast_value_latest.__dict__)

0 commit comments

Comments
 (0)