Skip to content

Commit

Permalink
Merge pull request #18 from sumesh-aot/online_appointment
Browse files Browse the repository at this point in the history
Changes for email service and job
  • Loading branch information
sumesh-aot authored Apr 30, 2020
2 parents 71ad6c0 + 4a32bf8 commit ddb5cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/utilities/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def run_job():

def send_cancel_email(appt: Appointment, user, office, timezone):
"""Send cancellation email"""
template = ENV.get_template('email_templates/blackout_email.html')
template = ENV.get_template('email_templates/delete_email.html')
date = formatted_date(appt.start_time, timezone)
subject = f'Cancelled – Your appointment on {date}'
body = template.render(display_name=appt.citizen_name,
Expand Down

0 comments on commit ddb5cde

Please sign in to comment.