core-connector-fix
All checks were successful
deploy / deploy (push) Successful in 1m6s

This commit is contained in:
Untone 2023-12-18 00:01:53 +03:00
parent bc8a07e619
commit 3cccf97198

View File

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