Clean up of Cvent and IDAA person and membership related. The person.status only matters if it is Pending.
This commit is contained in:
@@ -200,6 +200,12 @@ async def get_person_w_email(
|
||||
email: str = Query(..., min_length=5, max_length=75),
|
||||
person_id: str = Query(None, min_length=11, max_length=22),
|
||||
|
||||
inc_address: bool = False,
|
||||
inc_contact: bool = False,
|
||||
inc_user: bool = False,
|
||||
inc_user_role_list: bool = False,
|
||||
return_obj: bool = True,
|
||||
|
||||
commons: Common_Route_Params = Depends(common_route_params),
|
||||
):
|
||||
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
|
||||
@@ -230,6 +236,7 @@ async def get_person_w_email(
|
||||
cvent_contact_obj = cvent_person_contact_obj,
|
||||
account_id = account_id,
|
||||
person_id = person_id,
|
||||
idaa_refresh_person_group = True,
|
||||
):
|
||||
# person_obj = create_update_aether_person_result
|
||||
person_id = create_update_aether_person_result
|
||||
@@ -271,7 +278,7 @@ async def get_person_w_external_id(
|
||||
inc_contact: bool = False,
|
||||
inc_user: bool = False,
|
||||
inc_user_role_list: bool = False,
|
||||
return_obj: Optional[bool] = True,
|
||||
return_obj: bool = True,
|
||||
|
||||
commons: Common_Route_Params = Depends(common_route_params),
|
||||
):
|
||||
@@ -302,6 +309,7 @@ async def get_person_w_external_id(
|
||||
cvent_contact_obj = cvent_person_contact_obj,
|
||||
account_id = account_id,
|
||||
person_id = person_id,
|
||||
idaa_refresh_person_group = True,
|
||||
):
|
||||
# person_obj = create_update_aether_person_result
|
||||
person_id = create_update_aether_person_result
|
||||
|
||||
Reference in New Issue
Block a user