From c65ba3ca60607fe554075424b2010a1746f52c44 Mon Sep 17 00:00:00 2001 From: Kevin Zhang <54437031+kzdev420@users.noreply.github.com> Date: Wed, 25 Sep 2024 13:37:32 -0400 Subject: [PATCH] 23034 debug config (#3000) * 23034_debug_config * remove return --- legal-api/src/legal_api/services/bootstrap.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/legal-api/src/legal_api/services/bootstrap.py b/legal-api/src/legal_api/services/bootstrap.py index 97da17a6dd..b211897530 100644 --- a/legal-api/src/legal_api/services/bootstrap.py +++ b/legal-api/src/legal_api/services/bootstrap.py @@ -280,6 +280,11 @@ def get_account_by_affiliated_identifier(cls, identifier: str): def get_affiliations(cls, account: int): """Affiliate a business to an account.""" auth_url = current_app.config.get('AUTH_SVC_URL') + current_app.logger.debug('AUTH_SVC_URL: ', auth_url) + if not auth_url: + current_app.logger.error('Not found the AUTH_SVC_URL', auth_url) + # return None + account_svc_affiliate_url = f'{auth_url}/orgs/{account}/affiliations' token = cls.get_bearer_token()