Skip to content

Commit

Permalink
20359-updates after review
Browse files Browse the repository at this point in the history
  • Loading branch information
ketaki-deodhar committed Apr 16, 2024
1 parent 2943a17 commit e64e7ee
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions legal-api/src/legal_api/reports/business_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e64e7ee

Please sign in to comment.