Fix internal error at preapprove now responds 500

* Previously it had been responding 200 (OK)

Change-Id: Iac5f9fa9562b3c1c3bfb0f5fb9be377139447998
This commit is contained in:
Amelia Cordwell 2018-01-11 16:38:33 +13:00
parent d55a580e3c
commit f8b8e0c97f
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class TaskView(APIViewWithLogger):
["Error: Something went wrong on the server. " +
"It will be looked into shortly."]
}
return response_dict, 200
return response_dict, 500
# send initial confirmation email:
email_conf = class_conf.get('emails', {}).get('initial', None)