Skip to content

Commit 97c434e

Browse files
committed
fix proxy kwarg for async client
1 parent 4a8dfcf commit 97c434e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord_webhook/async_webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def http_client(self) -> "httpx.AsyncClient":
4343
It will automatically close the client when the context is exited.
4444
:return: httpx.AsyncClient
4545
"""
46-
client = httpx.AsyncClient(proxies=self.proxies)
46+
client = httpx.AsyncClient(proxy=self.proxies)
4747
yield client
4848
await client.aclose()
4949

0 commit comments

Comments
 (0)