diff --git a/resolvers/__init__.py b/resolvers/__init__.py index 79086641..c68b883d 100644 --- a/resolvers/__init__.py +++ b/resolvers/__init__.py @@ -8,7 +8,7 @@ from resolvers.author import ( # search_authors, get_author_id, get_authors_all, load_authors_by, - load_authors_search_resolver, + load_authors_search, update_author, ) from resolvers.community import get_communities_all, get_community @@ -72,7 +72,7 @@ __all__ = [ "get_author_follows_authors", "get_authors_all", "load_authors_by", - "load_authors_search_resolver", + "load_authors_search", "update_author", ## "search_authors", # community diff --git a/resolvers/author.py b/resolvers/author.py index 36867032..8d92cabc 100644 --- a/resolvers/author.py +++ b/resolvers/author.py @@ -303,7 +303,7 @@ async def load_authors_by(_, _info, by, limit, offset): @query.field("load_authors_search") -async def load_authors_search_resolver(_, info, text: str, limit: int = 10, offset: int = 0): +async def load_authors_search(_, info, text: str, limit: int = 10, offset: int = 0): """ Resolver for searching authors by text. Works with txt-ai search endpony. Args: