Skip to content

Commit

Permalink
Change: Make unit tests happy
Browse files Browse the repository at this point in the history
  • Loading branch information
n-thumann authored and greenbonebot committed Dec 16, 2024
1 parent 8276024 commit 2a202d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pontos/github/api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ async def get_all(

while next_url:
# Workaround for https://github.com/encode/httpx/issues/3433
new_params = httpx.URL(next_url).params.merge(params)
new_params = (
httpx.URL(next_url).params.merge(params) if params else None
)
response = await self.get(next_url, params=new_params)

yield response
Expand Down

0 comments on commit 2a202d2

Please sign in to comment.