mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: get courses data in collections view
This commit is contained in:
parent
ce785fd078
commit
39dc5ab880
4 changed files with 59 additions and 18 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue