diff --git a/discord_webhook/async_webhook.py b/discord_webhook/async_webhook.py index d66bc73..9e64ddb 100644 --- a/discord_webhook/async_webhook.py +++ b/discord_webhook/async_webhook.py @@ -43,7 +43,7 @@ async def http_client(self) -> "httpx.AsyncClient": It will automatically close the client when the context is exited. :return: httpx.AsyncClient """ - client = httpx.AsyncClient(proxies=self.proxies) + client = httpx.AsyncClient(proxy=self.proxies) yield client await client.aclose()