Fix buggy report_error return value.

This commit is contained in:
Tim Abbott 2016-01-26 16:59:30 -08:00
parent 7595e4b05f
commit a2ef1642d1
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def report_error(request, deployment, type=REQ, report=REQ(validator=check_dict(
notify_server_error(report) notify_server_error(report)
else: else:
return json_error("Invalid type parameter") return json_error("Invalid type parameter")
return json_response({}) return json_success()
def realm_for_email(email): def realm_for_email(email):
try: try: