Skip to content

Commit a056c5e

Browse files
update (#280)
1 parent 43d3377 commit a056c5e

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
@@ -120,7 +120,7 @@ def update_forecast_latest(
120120
forecast_values.append(forecast_value_latest.__dict__)
121121

122122
# update input_data_last_updated
123-
forecast_historic.input_data_last_updated = forecast.input_data_last_updated
123+
forecast_historic.input_data_last_updated_id = forecast.input_data_last_updated_id
124124

125125
# upsert forecast values
126126
upsert(session=session, model=ForecastValueLatestSQL, rows=forecast_values)

0 commit comments

Comments
 (0)