diff --git a/services/core.py b/services/core.py index 57a6f2c..bb8d4de 100644 --- a/services/core.py +++ b/services/core.py @@ -18,7 +18,9 @@ async def get_author(author_id): gql = { "query": query_type + " " + operation + " { " + query_name + " { " + query_fields + " } " + " }", "operationName": operation, - "variables": None, + "variables": { + "author_id": author_id + }, } async with AsyncClient() as client: try: