Merge pull request 'org-unit-limits: пагинация орг юнитов опциональна' (#144) from org-unit-limits into test

Reviewed-on: #144
This commit is contained in:
tsygankoviva 2026-09-03 14:48:23 +03:00
commit 02c04c2d5c

View File

@ -16,8 +16,8 @@ router = APIRouter(prefix="/org-unit", tags=["ssp"])
@router.get("/") @router.get("/")
async def org_unit_list( async def org_unit_list(
offset: int = 0, offset: int | None = None,
limit: int = 100, limit: int | None = None,
is_active: bool | None = None, is_active: bool | None = None,
is_ssp: bool | None = None, is_ssp: bool | None = None,
load_users_count: bool = False, load_users_count: bool = False,