get-author-followers-fix2
This commit is contained in:
parent
9439d71249
commit
6762b18135
|
@ -240,7 +240,7 @@ def create_author(user_id: str, slug: str, name: str = ""):
|
||||||
|
|
||||||
|
|
||||||
@query.field("get_author_followers")
|
@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}")
|
logger.debug(f"getting followers for @{slug}")
|
||||||
author_id = get_author_id_from(slug=slug, user=user, author_id=author_id)
|
author_id = get_author_id_from(slug=slug, user=user, author_id=author_id)
|
||||||
followers = []
|
followers = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user