diff --git a/lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.py b/lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.py index 68463a732..c0893e172 100644 --- a/lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.py +++ b/lms/lms/doctype/lms_assignment_submission/lms_assignment_submission.py @@ -49,7 +49,7 @@ def send_mail(self): subject = email_template.get("subject") content = email_template.get("message") frappe.sendmail( - recipients="jannat@frappe.io", + recipients=moderators, subject=subject, template=template if not custom_template else None, content=content if custom_template else None,