From d84b8e79d6bc77b93e8d8fc7ba6881ffc2d7ac15 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Tue, 21 May 2024 12:27:05 +0200 Subject: [PATCH] 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. --- .../brain/service/brain_subscription/resend_invitation_email.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/modules/brain/service/brain_subscription/resend_invitation_email.py b/backend/modules/brain/service/brain_subscription/resend_invitation_email.py index c2deb533f..6e0ffdd6c 100644 --- a/backend/modules/brain/service/brain_subscription/resend_invitation_email.py +++ b/backend/modules/brain/service/brain_subscription/resend_invitation_email.py @@ -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,