This commit is contained in:
parent
bc8a07e619
commit
3cccf97198
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user