General code clean up and bug fixes. Still working on order and orders that are carts
This commit is contained in:
@@ -181,7 +181,6 @@ async def person_obj_external_id(
|
||||
external_id: str = Query(..., min_length=5, max_length=75),
|
||||
inc_address: bool = False,
|
||||
inc_contact: bool = False,
|
||||
# inc_person: bool = False,
|
||||
inc_user: bool = False,
|
||||
inc_user_role_list: bool = False,
|
||||
commons: Common_Route_Params = Depends(common_route_params),
|
||||
@@ -190,7 +189,6 @@ async def person_obj_external_id(
|
||||
log.debug(locals())
|
||||
|
||||
account_id = commons.x_account_id
|
||||
# account_id = 99 # WARNING!!!! Get rid of 99!
|
||||
|
||||
if person_data := get_person_rec_w_external_id(account_id=account_id, external_id=external_id): pass
|
||||
else: return mk_resp(data=None, status_code=404, response=commons.response)
|
||||
|
||||
Reference in New Issue
Block a user