feat: update to edx-ace 1.0.0

The new version switches how you specify recipients, to use
lms_user_id instead of usernames.

AA-489
This commit is contained in:
Michael Terry
2021-03-09 16:03:48 -05:00
parent f54e3752fa
commit 570a869bd3
22 changed files with 31 additions and 31 deletions

View File

@@ -495,7 +495,7 @@ def send_mail_to_student(student, param_dict, language=None):
message_class = ace_emails_dict[message_type]
message = message_class().personalize(
recipient=Recipient(username='', email_address=student),
recipient=Recipient(lms_user_id=0, email_address=student),
language=language,
user_context=param_dict,
)