Working on new user account and person profile creation and updating
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user