fix-core-api
All checks were successful
deploy / deploy (push) Successful in 1m17s

This commit is contained in:
Untone 2023-11-13 17:44:51 +03:00
parent 1fe3d774bf
commit 4950c88dad

View File

@ -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"