Skip to content

Commit

Permalink
Small fix of sending email
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDyakonov committed Jun 16, 2024
1 parent 0ab3be6 commit 0c5cc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/apps/mailer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from bs4 import BeautifulSoup
from django.template.loader import render_to_string

from .tasks import send_mail_with_attachment
from .tasks import send_mail


def send_purchase_email(email, payment_id):
Expand All @@ -18,4 +18,4 @@ def send_purchase_email(email, payment_id):
"html_message": html_message,
}

send_mail_with_attachment([email], mail_data)
send_mail([email], mail_data)

0 comments on commit 0c5cc0b

Please sign in to comment.