This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user