get-author-by-id-fix-2
All checks were successful
deploy / deploy (push) Successful in 1m15s

This commit is contained in:
Untone 2023-11-14 18:10:06 +03:00
parent 46fc27e040
commit fc0af2d0d8

View File

@ -18,7 +18,9 @@ async def get_author(author_id):
gql = { gql = {
"query": query_type + " " + operation + " { " + query_name + " { " + query_fields + " } " + " }", "query": query_type + " " + operation + " { " + query_name + " { " + query_fields + " } " + " }",
"operationName": operation, "operationName": operation,
"variables": None, "variables": {
"author_id": author_id
},
} }
async with AsyncClient() as client: async with AsyncClient() as client:
try: try: