This commit is contained in:
parent
eb6ccdc481
commit
0091acd0ec
|
@ -75,6 +75,6 @@ async def get_author(user: str = ""):
|
|||
}
|
||||
|
||||
r = await _request_endpoint(query_name, gql)
|
||||
if isinstance(r, list):
|
||||
if r and isinstance(r, list):
|
||||
r = r.pop()
|
||||
return r
|
||||
|
|
Loading…
Reference in New Issue
Block a user