Skip to content

Commit

Permalink
feat: added feature to send email when user unsubscribes from a newsl…
Browse files Browse the repository at this point in the history
…etter
  • Loading branch information
trevorjob committed Aug 23, 2024
1 parent dfab918 commit effa7f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/v1/routes/newsletter.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ async def unsubscribe_newsletter(
recipient=request.email,
template_name="unsubscribe.html",
subject="Unsubscription from HNG Boilerplate Newsletter",
context={},
)
return success_response(
message="Unsubscribed successfully.",
Expand Down

0 comments on commit effa7f1

Please sign in to comment.