diff --git a/services/core.py b/services/core.py index e0a55c3..57a6f2c 100644 --- a/services/core.py +++ b/services/core.py @@ -9,7 +9,7 @@ headers = {"Content-Type": "application/json"} INTERNAL_AUTH_SERVER = 'v2.' in API_BASE async def get_author(author_id): - query_name = "getAuthor" if INTERNAL_AUTH_SERVER else "GetAuthorById" + query_name = "getAuthorById" if INTERNAL_AUTH_SERVER else "GetAuthorById" query_type = "query" operation = "GetAuthorById" query_fields = "id slug userpic name lastSeen" if INTERNAL_AUTH_SERVER else "id slug userpic name last_seen"