This commit is contained in:
parent
4950c88dad
commit
46fc27e040
|
@ -9,7 +9,7 @@ headers = {"Content-Type": "application/json"}
|
||||||
INTERNAL_AUTH_SERVER = 'v2.' in API_BASE
|
INTERNAL_AUTH_SERVER = 'v2.' in API_BASE
|
||||||
|
|
||||||
async def get_author(author_id):
|
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"
|
query_type = "query"
|
||||||
operation = "GetAuthorById"
|
operation = "GetAuthorById"
|
||||||
query_fields = "id slug userpic name lastSeen" if INTERNAL_AUTH_SERVER else "id slug userpic name last_seen"
|
query_fields = "id slug userpic name lastSeen" if INTERNAL_AUTH_SERVER else "id slug userpic name last_seen"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user