This commit is contained in:
parent
435a00b558
commit
9dab10d04c
|
@ -56,7 +56,8 @@ async def get_my_followings():
|
||||||
r = response.json()
|
r = response.json()
|
||||||
data = r.get("data")
|
data = r.get("data")
|
||||||
if data:
|
if data:
|
||||||
authors = data.get(query_name, {}).get("authors", [])
|
d = data.get(query_name)
|
||||||
|
if d:
|
||||||
|
authors = d.get("authors", [])
|
||||||
return authors
|
return authors
|
||||||
else:
|
|
||||||
return []
|
return []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user