From 6e05999960f85f071a77a3d14261dda0219d9e9f Mon Sep 17 00:00:00 2001 From: Muhammad Arslan Abdul Rauf Date: Tue, 29 Jul 2025 17:30:52 +0500 Subject: [PATCH] fix: refresh-saml-metadata beat task path fixed --- 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 4884e0a22c87..f67926dec902 100644 --- a/lms/envs/production.py +++ b/lms/envs/production.py @@ -420,7 +420,7 @@ def get_env_setting(setting): # If we didn't override the value in YAML, OR we overrode it to a truthy value, # then update CELERYBEAT_SCHEDULE. CELERYBEAT_SCHEDULE['refresh-saml-metadata'] = { - 'task': 'common.djangoapps.third_party_auth.fetch_saml_metadata', + 'task': 'common.djangoapps.third_party_auth.tasks.fetch_saml_metadata', 'schedule': datetime.timedelta(hours=hours), }