This commit is contained in:
parent
01e8a07ae7
commit
4dd419bdf9
|
@ -42,7 +42,7 @@ def get_author_by_user(user: str):
|
|||
"variables": {"user": user},
|
||||
}
|
||||
|
||||
author = _request_endpoint(query_name, gql).popitem()
|
||||
author = _request_endpoint(query_name, gql)[0]
|
||||
|
||||
return author
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user