diff --git a/services/core.py b/services/core.py index 77b7153..9a80d7c 100644 --- a/services/core.py +++ b/services/core.py @@ -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())[:15]}..") + print(f"[services.core] {query_name} response: <{response.status}> {(await response.text())[:65]}..") if response.status == 200: r = await response.json() if r: @@ -29,7 +29,7 @@ async def get_all_authors() -> List[ChatMember]: return authors_by_user["authors"] gql = { - "query": "query { " + query_name + "{ id slug pic name } }", + "query": "query { " + query_name + "{ id slug pic name user } }", "variables": None, }