This commit is contained in:
parent
15bbe8eb9d
commit
35e68097d8
|
@ -77,4 +77,4 @@ async def get_author(user: str = ""):
|
||||||
r = await _request_endpoint(query_name, gql)
|
r = await _request_endpoint(query_name, gql)
|
||||||
if r and isinstance(r, list):
|
if r and isinstance(r, list):
|
||||||
r = r.pop()
|
r = r.pop()
|
||||||
return r
|
return r or None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user