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

Merged
tsygankoviva merged 1 commits from projects-fix into test 2026-08-17 11:07:23 +03:00
Showing only changes of commit 3d75e1960e - Show all commits

View File

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