projects-fix: убрал пагинацию в проектах #97

Merged
tsygankoviva merged 1 commits from projects-fix into test 2026-08-17 11:07:23 +03:00

View File

@ -74,8 +74,6 @@ async def get_projects(
@router.get("/projects/with-reports") @router.get("/projects/with-reports")
async def get_projects_with_reports( async def get_projects_with_reports(
offset: int = 0,
limit: int = 100,
year: Optional[int] = None, year: Optional[int] = None,
branch_id: Optional[int] = None, branch_id: Optional[int] = None,
db: AsyncSession = Depends(get_db), db: AsyncSession = Depends(get_db),
@ -87,8 +85,6 @@ async def get_projects_with_reports(
with_count=True, with_count=True,
year=year, year=year,
branch_id=branch_id, branch_id=branch_id,
offset=offset,
limit=limit,
) )
return BaseListResponse(result=projects, count=count) return BaseListResponse(result=projects, count=count)