From e64e7ee431d8abf9a9d2493ce0a6114d842760d9 Mon Sep 17 00:00:00 2001 From: ketaki-deodhar Date: Tue, 16 Apr 2024 11:28:00 -0700 Subject: [PATCH] 20359-updates after review --- legal-api/src/legal_api/reports/business_document.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/legal-api/src/legal_api/reports/business_document.py b/legal-api/src/legal_api/reports/business_document.py index 8c5b6eb85b..cb1655598d 100644 --- a/legal-api/src/legal_api/reports/business_document.py +++ b/legal-api/src/legal_api/reports/business_document.py @@ -121,10 +121,7 @@ def _get_template_data(self, get_json=False): # get document data business_json["reportType"] = self._document_key business_json["business"] = self._business.json() - if self._business.alternate_names: - business_json["business"]["businessName"] = self._business.alternate_names[0].name - else: - business_json["business"]["businessName"] = self._business.business_name + business_json["business"]["businessName"] = self._business.business_name business_json["registrarInfo"] = {**RegistrarInfo.get_registrar_info(self._report_date_time)} self._set_description(business_json) self._set_epoch_date(business_json)