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