Skip to content

Commit

Permalink
add recipient email to function call when creation email is sent
Browse files Browse the repository at this point in the history
  • Loading branch information
skandrigi committed Nov 29, 2024
1 parent 407ac80 commit 1908a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hiss/application/emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def send_creation_email(app: Application) -> None:
# send_html_email is threaded from the User class
# see user/models.py

app.user.send_html_email.delay(template_name, context, subject)
app.user.send_html_email.delay(template_name, context, subject,app.user.email)

@shared_task
def send_confirmation_email(app_id: int) -> None:
Expand Down

0 comments on commit 1908a09

Please sign in to comment.