Change to person.contact_id and related bug fixes.

This commit is contained in:
Scott Idem
2021-08-08 11:54:57 -04:00
parent 65b5e6ade6
commit 3310d9fc8b
3 changed files with 6 additions and 6 deletions

View File

@@ -323,7 +323,7 @@ def create_person_obj(person_obj_new:Person_Base):
# Need to update the person with the new contact_id
person_obj_up = {}
person_obj_up['id'] = person_id
person_obj_up['contact_id'] = contact_id
person_obj_up['contact_id_old'] = contact_id
if person_obj_up_result := sql_update(data=person_obj_up, table_name='person'): pass
else:
return False