Skip to content

Commit

Permalink
correct lms base
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Faraz Maqsood authored and Muhammad Faraz Maqsood committed Mar 6, 2024
1 parent c4203db commit 559447e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openedx/features/sdaia_features/course_progress/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def send_user_course_progress_email(current_progress, progress_last_email_sent_a
site_domain = configuration_helpers.get_value_for_org(
course.org,
'site_domain',
settings.LMS_HOST
settings.LMS_BASE
)
site = Site.objects.filter(domain=site_domain).first() or Site.objects.first() or Site.objects.get_current()
message_context = get_base_template_context(site)
Expand Down Expand Up @@ -115,7 +115,7 @@ def send_user_course_completion_email(user_id, course_key):
site_domain = configuration_helpers.get_value_for_org(
course.org,
'site_domain',
settings.LMS_HOST
settings.LMS_BASE
)
site = Site.objects.filter(domain=site_domain).first() or Site.objects.first() or Site.objects.get_current()
message_context = get_base_template_context(site)
Expand Down

0 comments on commit 559447e

Please sign in to comment.