Finally returning correct HTTP status codes

This commit is contained in:
Scott Idem
2021-08-10 19:06:40 -04:00
parent a1b9d3c518
commit cfd85435f2
29 changed files with 83 additions and 82 deletions

View File

@@ -112,7 +112,7 @@ async def get_account_log_client_viewing_obj_li(
log_client_viewing_result_list.append(None)
response_data = log_client_viewing_result_list
else:
return mk_resp(data=False, status_code=400) # Bad Request
return mk_resp(data=False, status_code=400, response=response) # Bad Request
return mk_resp(data=response_data)
# ### END ### API Log Client Viewing Methods ### get_account_log_client_viewing_obj_li() ###