diff --git a/services/core.py b/services/core.py index 6ceac92..e8036b2 100644 --- a/services/core.py +++ b/services/core.py @@ -53,7 +53,7 @@ async def get_my_followed() -> List[ChatMember]: "variables": None, } - async with AsyncClient() as client: + async with aiohttp.ClientSession() as client: try: response = await client.post(API_BASE, headers=headers, json=gql) print(f"[services.core] {query_name}: [{response.status_code}] {len(response.text)} bytes")