Bug fix for post lists

This commit is contained in:
Scott Idem
2021-07-20 14:02:08 -04:00
parent 6216c3786c
commit 50a8ce271d
3 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ async def get_post_obj_li(
# ### BEGIN ### API Post ### get_account_obj_post_list() ###
# Working well as of 2021-06-28. Using as a template for other routes.
@router.get('/post/{account_id}/post/list', response_model=Resp_Body_Base)
@router.get('/account/{account_id}/post/list', response_model=Resp_Body_Base)
async def get_account_obj_post_list(
account_id: str = Query(..., min_length=1, max_length=22),
limit: int = 500, # For now this covers any included objects or object lists