From 374d1e1d4be83b69230b513280d65fc7dcfed3c9 Mon Sep 17 00:00:00 2001 From: PaulGarewal Date: Mon, 30 Oct 2023 10:45:14 -0700 Subject: [PATCH] 18198 added business name to business summary --- legal-api/src/legal_api/reports/business_document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legal-api/src/legal_api/reports/business_document.py b/legal-api/src/legal_api/reports/business_document.py index 3dc9cb80fb..8ce87239e1 100644 --- a/legal-api/src/legal_api/reports/business_document.py +++ b/legal-api/src/legal_api/reports/business_document.py @@ -122,7 +122,7 @@ def _get_template_data(self, get_json=False): # get document data business_json['reportType'] = self._document_key business_json['business'] = self._legal_entity.json() - business_json['business']['businessName'] = business_json['business']['alternateNames'][0]['operatingName'] + business_json['business']['businessName'] = self._legal_entity.business_name business_json['registrarInfo'] = {**RegistrarInfo.get_registrar_info(self._report_date_time)} self._set_description(business_json) self._set_epoch_date(business_json)