fix: sender email address in resend_invitation_email.py (#2600)

This pull request fixes the sender email address in the
`resend_invitation_email` function in the `resend_invitation_email.py`
file. The `from` field has been changed to `sender` to ensure that the
correct email address is used when sending the invitation email.
This commit is contained in:
Stan Girard 2024-05-21 12:27:05 +02:00 committed by GitHub
parent 9f2a7ac80b
commit d84b8e79d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ def resend_invitation_email(
try:
r = send_email(
{
"from": brains_settings.resend_email_address,
"sender": brains_settings.resend_email_address,
"to": brain_subscription.email,
"subject": "Quivr - Brain Shared With You",
"html": html_body,