Work on a lot of things. Mainly cleaning up person and profile related fields in multiple tables.

This commit is contained in:
Scott Idem
2021-09-10 18:12:24 -04:00
parent 72820f08ae
commit 15fd32b252
20 changed files with 558 additions and 219 deletions

View File

@@ -192,7 +192,7 @@ async def v2_post_event_person_new(
else:
new_password = secrets.token_urlsafe(default_num_bytes)
organization_name = event_person_new_init.organization_name
affiliations = event_person_new_init.affiliations
# New person
person_new = {}
@@ -201,7 +201,7 @@ async def v2_post_event_person_new(
person_new['family_name'] = family_name
person_new['full_name'] = full_name
person_new['display_name'] = display_name
person_new['organization_name'] = organization_name
person_new['affiliations'] = affiliations
# New person contact
person_new['contact'] = {}