Working on new user account and person profile creation and updating

This commit is contained in:
Scott Idem
2021-04-09 22:22:52 -04:00
parent 06043197bd
commit 9840a3e4b7
2 changed files with 9 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ async def get_person_obj(
obj_id: str = Query(..., min_length=1, max_length=22),
x_account_id: str = Header(...),
inc_contact: bool = False,
inc_address: bool = False,
inc_organization: bool = False,
by_alias: Optional[bool] = True,
exclude_unset: Optional[bool] = True,
@@ -106,6 +107,7 @@ async def get_person_obj(
user_obj = load_person_obj(
person_id=obj_id,
inc_contact=inc_contact,
inc_address=inc_address,
inc_organization=inc_organization,
).dict(by_alias=by_alias, exclude_unset=exclude_unset)
data = user_obj