From 6691098ddff3697267f8dd633de50efde2abc8fa Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 5 Jan 2022 20:42:01 -0500 Subject: [PATCH] Work on simplifying functions --- app/methods/person_methods.py | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/app/methods/person_methods.py b/app/methods/person_methods.py index 0eae486..deb1d73 100644 --- a/app/methods/person_methods.py +++ b/app/methods/person_methods.py @@ -492,7 +492,7 @@ def create_person_kiss( account_id = account_id, user_dict_obj = person_obj.user, person_id = person_id, - ): pass + ): pass # NOTE: There is a trigger that will update the person record with the new user ID. else: return False else: pass @@ -571,21 +571,7 @@ def update_person_kiss( account_id = account_id, user_dict_obj = person_obj.user, person_id = person_id, - ): - # user_id = user_create_result - # person_data = {} - # person_data['person_id'] = person_id - # person_data['user_id'] = user_id - - # if person_dict_up_result := sql_update(data=person_dict, table_name='person', rm_id_random=True, id_random_length=default_num_bytes): pass - # else: - # log.warning(f'Person not updated.') - # log.debug(person_dict_up_result) - # return False - - # log.debug(person_dict_up_result) - pass - + ): pass # NOTE: There is a trigger that will update the person record with the new user ID. else: return False else: pass