Skip to content

Commit

Permalink
feat: changes filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Jul 25, 2024
1 parent 466496a commit 4907cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/app/tasks/task_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async def new_event(
)
drone_operator = await get_user_by_id(db, requested_user_id)
html_content = render_email_template(
template_name="mapping_approved.html",
template_name="mapping_approved_or_rejected.html",
context={
"email_subject": "Mapping Request Approved",
"email_body": "We are pleased to inform you that your mapping request has been approved. Your contribution is invaluable to our efforts in improving humanitarian responses worldwide.",
Expand Down Expand Up @@ -127,7 +127,7 @@ async def new_event(
)
drone_operator = await get_user_by_id(db, requested_user_id)
html_content = render_email_template(
template_name="mapping_approved.html",
template_name="mapping_approved_or_rejected.html",
context={
"email_subject": "Mapping Request Rejected",
"email_body": "We are sorry to inform you that your mapping request has been rejected.",
Expand Down

0 comments on commit 4907cc7

Please sign in to comment.