From 6762b18135abc0c2ae7786745e7f54db5a03e878 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 11 Dec 2024 21:34:43 +0300 Subject: [PATCH] get-author-followers-fix2 --- resolvers/author.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolvers/author.py b/resolvers/author.py index 8c152f85..604f2bc6 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -240,7 +240,7 @@ def create_author(user_id: str, slug: str, name: str = ""): @query.field("get_author_followers") -async def get_author_followers(_, _info, slug: str, user: str = "", author_id: int = 0): +async def get_author_followers(_, _info, slug: str = "", user: str = "", author_id: int = 0): logger.debug(f"getting followers for @{slug}") author_id = get_author_id_from(slug=slug, user=user, author_id=author_id) followers = []