From 568c733f4d3ca066e40a516f82add7e187df21e8 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 16 Jan 2025 15:57:46 -0500 Subject: [PATCH] fixup! refactor: Use `derived_settings` to lazy load settings. --- lms/envs/production.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/envs/production.py b/lms/envs/production.py index 95534d3b1b5..32c2d54dc8a 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -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