diff --git a/app/records/schemas/details.py b/app/records/schemas/details.py index ec59490..ec89f4b 100644 --- a/app/records/schemas/details.py +++ b/app/records/schemas/details.py @@ -60,7 +60,7 @@ def __init__(self, id: str): class RecordArchive(Details): type: str = "archive" name: str = "" - archon: str = "" + archon_code: str = "" opening_times: str = "" disabled_access: str = "" information: str = "" diff --git a/app/sources/rosetta/api.py b/app/sources/rosetta/api.py index 6c18948..5e90b04 100644 --- a/app/sources/rosetta/api.py +++ b/app/sources/rosetta/api.py @@ -106,7 +106,7 @@ def parse_results(self, raw_results, source_url): ): record = RecordArchive(parsed_data.id()) record.name = parsed_data.title() - record.archon = parsed_data.reference_number() + record.archon_code = parsed_data.reference_number() record.opening_times = parsed_data.place_opening_times() record.disabled_access = parsed_data.place_disabled_access() record.information = parsed_data.place_comments()