diff --git a/app/sources/rosetta/lib/response_parser.py b/app/sources/rosetta/lib/response_parser.py index 1bdf728..47526ea 100644 --- a/app/sources/rosetta/lib/response_parser.py +++ b/app/sources/rosetta/lib/response_parser.py @@ -34,6 +34,8 @@ def __new__(cls, rosetta_data: dict, source_item: int = 0): class RosettaSourceParser: + # Current mapping: https://github.com/nationalarchives/ds-infrastructure-ciim/blob/main/kubernetes/rosetta-staging/config/jpt.json + def __init__(self, rosetta_data_source): self.source = rosetta_data_source @@ -140,7 +142,7 @@ def name(self) -> str | None: names = self.names() if "name" in names: return names["name"] - return self.title() or None + return None def names(self) -> dict: names = {}