Skip to content

Commit

Permalink
YDA-5603: fix email encoding issue in DR module
Browse files Browse the repository at this point in the history
Emails regarding preregistration approvals to researchers failed due
to a wrong body encoding.
  • Loading branch information
stsnel committed Feb 21, 2024
1 parent 7d7449e commit 06efe5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datarequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ def mail_datarequest_approved_researcher(ctx, truncated_title, researcher_email,
cc=cc,
actor=user.full_name(ctx),
subject=(u"YOUth data request {} (\"{}\") (data assessment only): approved".format(request_id, truncated_title) if dao else "YOUth data request {} (\"{}\"): preregistration approved".format(request_id, truncated_title)),
body="""Dear {},
body=u"""Dear {},
The preregistration of your data request has been approved. The YOUth data manager will now create a Data Transfer Agreement for you to sign. You will be notified when it is ready.
Expand Down

0 comments on commit 06efe5e

Please sign in to comment.