diff --git a/services/core.py b/services/core.py index db23cb3..a6fc536 100644 --- a/services/core.py +++ b/services/core.py @@ -54,5 +54,5 @@ async def get_my_followings(): if response.status_code != 200: return None r = response.json() - authors = r.get("data", {}).get(query_name).get("authors", []) + authors = r.get("data", {}).get(query_name, {}).get("authors", []) return authors