feat: get courses data in collections view

This commit is contained in:
swve 2022-12-22 22:04:38 +01:00
parent ce785fd078
commit 39dc5ab880
4 changed files with 59 additions and 18 deletions

View file

@ -24,7 +24,7 @@ async def api_get_collection(collection_id: str, current_user: PublicUser = Depe
@router.get("/page/{page}/limit/{limit}")
async def api_get_collection_by(page: int, limit: int, current_user: PublicUser = Depends(get_current_user)):
async def api_get_collections_by(page: int, limit: int, current_user: PublicUser = Depends(get_current_user)):
"""
Get collections by page and limit
"""