Skip to content

Commit 2a202d2

Browse files
n-thumanngreenbonebot
authored andcommitted
Change: Make unit tests happy
1 parent 8276024 commit 2a202d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pontos/github/api/client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ async def get_all(
155155

156156
while next_url:
157157
# Workaround for https://github.com/encode/httpx/issues/3433
158-
new_params = httpx.URL(next_url).params.merge(params)
158+
new_params = (
159+
httpx.URL(next_url).params.merge(params) if params else None
160+
)
159161
response = await self.get(next_url, params=new_params)
160162

161163
yield response

0 commit comments

Comments
 (0)