This commit is contained in:
@@ -16,7 +16,7 @@ async def get_author(author_id):
|
||||
}
|
||||
}""",
|
||||
"operation": "GetAuthorById",
|
||||
"variables": {"author_id": author_id},
|
||||
"variables": {"author_id": int(author_id)},
|
||||
}
|
||||
async with AsyncClient() as client:
|
||||
response = await client.post(API_BASE, headers=headers, json=gql)
|
||||
|
Reference in New Issue
Block a user