Skip to content

Commit

Permalink
fixup! refactor: Use derived_settings to lazy load settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Jan 16, 2025
1 parent ee98c8e commit 568c733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_env_setting(setting):
ENTERPRISE_PUBLIC_ENROLLMENT_API_URL = lambda settings: (settings.LMS_ROOT_URL or '') + settings.LMS_ENROLLMENT_API_PATH

# Enrollment URL used on the server-side.
ENTERPRISE_ENROLLMENT_API_URL = lambda settings: (settisgs.LMS_INTERNAL_ROOT_URL or '') + settings.LMS_ENROLLMENT_API_PATH
ENTERPRISE_ENROLLMENT_API_URL = lambda settings: (settings.LMS_INTERNAL_ROOT_URL or '') + settings.LMS_ENROLLMENT_API_PATH

############## ENTERPRISE SERVICE API CLIENT CONFIGURATION ######################
# The LMS communicates with the Enterprise service via the requests.Session() client
Expand Down

0 comments on commit 568c733

Please sign in to comment.