get-author-by-id-fix
All checks were successful
deploy / deploy (push) Successful in 1m14s

This commit is contained in:
Untone 2023-11-14 16:45:18 +03:00
parent 4950c88dad
commit 46fc27e040

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