Compare commits

..

No commits in common. "32aa59b039b1be19de0cfb4240cedc020038011c" and "afff0eb128e849dcbb51b201203ea0285cfb3813" have entirely different histories.

View File

@ -74,6 +74,8 @@ 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),
@ -85,6 +87,8 @@ 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)