Clean up of code...
This commit is contained in:
@@ -561,9 +561,9 @@ async def lookup_username(
|
||||
|
||||
# ### BEGIN ### API User ### get_user_obj_new() ###
|
||||
# Working well as of 2021-06-11. Using as a template for other routes.
|
||||
@router.get('/{user_id}', response_model=Resp_Body_Base)
|
||||
@router.get('/{user_id}/json', response_model=Resp_Body_Base)
|
||||
async def get_user_obj_new(
|
||||
account_id: str = Query(..., min_length=1, max_length=22),
|
||||
user_id: str = Query(..., min_length=1, max_length=22),
|
||||
limit: int = 500, # For now this covers any included objects or object lists
|
||||
enabled: str = 'enabled', # For now this covers any included objects or object lists
|
||||
inc_address: bool = False, # Priority l1
|
||||
|
||||
Reference in New Issue
Block a user