From dffa4e244b69719c43400d2571c1242c8eb409b6 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Sat, 12 Nov 2022 18:48:58 +0100 Subject: [PATCH] import id more fitting for display --- .../obtain_livestream_data_and_load_into_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/planning_data/obtain_livestream_data_and_load_into_database.py b/etl/planning_data/obtain_livestream_data_and_load_into_database.py index 04488b6b..2f1d856e 100644 --- a/etl/planning_data/obtain_livestream_data_and_load_into_database.py +++ b/etl/planning_data/obtain_livestream_data_and_load_into_database.py @@ -38,7 +38,7 @@ def load_data_into_database(cursor, data): description = None if entry['_source']['description'] != None: description = entry['_source']['description'].strip() - application_id = entry['_source']['id'] + application_id = entry['_source']['lpa_app_no'] decision_date = parse_date_string_into_date_object(entry['_source']['decision_date']) last_synced_date = parse_date_string_into_date_object(entry['_source']['last_synced']) uprn = entry['_source']['uprn']