Small fix
This commit is contained in:
@@ -27,7 +27,7 @@ async def get_categories(Authorize: AuthJWT = Depends(), session: AsyncSession =
|
||||
categories = await Category.get_all(session=session, select_in_load=[Category.signs])
|
||||
return categories
|
||||
|
||||
@router.get("/{category_id}/signs", response_model=List[SignOut])
|
||||
@router.get("/{category_id}/signs/", response_model=List[SignOut])
|
||||
async def get_signs_by_category(category_id: int, Authorize: AuthJWT = Depends(), session: AsyncSession = Depends(get_session)):
|
||||
Authorize.jwt_required()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user