diff --git a/legal-api/src/legal_api/models/alternate_name.py b/legal-api/src/legal_api/models/alternate_name.py index 3971a25181..ab5681caa9 100644 --- a/legal-api/src/legal_api/models/alternate_name.py +++ b/legal-api/src/legal_api/models/alternate_name.py @@ -318,7 +318,9 @@ def _slim_json(self): "identifier": self.identifier, "name": self.name, "nameRegisteredDate": self.start_date.isoformat(), - "nameStartDate": LegislationDatetime.format_as_legislation_date(self.business_start_date), + "nameStartDate": LegislationDatetime.format_as_legislation_date(self.business_start_date) + if self.business_start_date + else None, "nameType": self.name_type.name, "operatingName": self.name, # will be removed in the future }