Merge pull request 'projects-fix: убрал пагинацию в проектах' (#97) from projects-fix into test
Reviewed-on: #97
This commit is contained in:
commit
32aa59b039
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user