parent
be7bf90f0b
commit
65eaa7b6cb
|
@ -12,7 +12,7 @@ authors_by_id = {}
|
|||
async def _request_endpoint(query_name, body) -> Any:
|
||||
async with ClientSession() as session:
|
||||
async with session.post(API_BASE, headers=headers, json=body) as response:
|
||||
print(f"[services.core] {query_name} response: <{response.status}> {await response.text()}")
|
||||
print(f"[services.core] {query_name} response: <{response.status}> {(await response.text())[:15]}..")
|
||||
if response.status == 200:
|
||||
r = await response.json()
|
||||
if r:
|
||||
|
|
Loading…
Reference in New Issue
Block a user