This commit is contained in:
parent
bc8ed964ec
commit
f20f5adedf
|
@ -82,3 +82,6 @@ async def get_author(author_id: int = None, slug: str = "", user: str = ""):
|
|||
}
|
||||
|
||||
r = await _request_endpoint(query_name, gql)
|
||||
if isinstance(r, list):
|
||||
r = r.pop()
|
||||
return r
|
||||
|
|
Loading…
Reference in New Issue
Block a user