get-author-fix-5
Some checks failed
deploy / deploy (push) Has been cancelled

This commit is contained in:
Untone 2023-12-18 02:57:14 +03:00
parent 15bbe8eb9d
commit 35e68097d8

View File

@ -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