Code clean up. Person and User related is being worked on.

This commit is contained in:
Scott Idem
2022-01-06 12:25:53 -05:00
parent a2de9572ba
commit c127e0822c
10 changed files with 166 additions and 91 deletions

View File

@@ -253,7 +253,7 @@ async def v2_post_event_person_new(
user_id = None
user_obj = None
create_user_obj_result = create_user_obj(account_id=account_id_random, user_obj_new=user_obj_new)
create_user_obj_result = create_user_obj(account_id=account_id_random, user_dict_obj=user_obj_new)
if isinstance(create_user_obj_result, bool):
log.debug('Returning False since multiple users were found with the same username.')
return mk_resp(data=False)