This commit is contained in:
parent
1fe3d774bf
commit
4950c88dad
|
@ -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 = "getAuthor" 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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user