Skip to content

Commit

Permalink
23034 debug config (#3000)
Browse files Browse the repository at this point in the history
* 23034_debug_config

* remove return
  • Loading branch information
kzdev420 authored Sep 25, 2024
1 parent 035be89 commit c65ba3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions legal-api/src/legal_api/services/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c65ba3c

Please sign in to comment.