Skip to content

Commit

Permalink
Merge branch 'main' into feature/composite_actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sondrelg authored Sep 13, 2022
2 parents 1952bcb + 6601a34 commit a2ba1de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def list_org_packages(*, org_name: str, http_client: AsyncClient) -> list[
:param http_client: HTTP client.
:return: List of packages.
"""
response = await http_client.get(f'{BASE_URL}/orgs/{org_name}/packages?package_type=container')
response = await http_client.get(f'{BASE_URL}/orgs/{org_name}/packages?package_type=container&per_page=100')
response.raise_for_status()
return [PackageResponse(**i) for i in response.json()]

Expand All @@ -87,7 +87,7 @@ async def list_packages(*, http_client: AsyncClient) -> list[PackageResponse]:
:param http_client: HTTP client.
:return: List of packages.
"""
response = await http_client.get(f'{BASE_URL}/user/packages?package_type=container')
response = await http_client.get(f'{BASE_URL}/user/packages?package_type=container&per_page=100')
response.raise_for_status()
return [PackageResponse(**i) for i in response.json()]

Expand Down

0 comments on commit a2ba1de

Please sign in to comment.