Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Change archon to archon_code
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 17, 2024
1 parent 17ad813 commit db257f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/records/schemas/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down
2 changes: 1 addition & 1 deletion app/sources/rosetta/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit db257f8

Please sign in to comment.