Work on simplifying functions
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user