search-authors-fix
All checks were successful
Deploy on push / deploy (push) Successful in 25s

This commit is contained in:
2024-02-25 21:43:30 +03:00
parent 8b3cfebc47
commit fc774adb9f
2 changed files with 3 additions and 3 deletions

View File

@@ -220,6 +220,6 @@ def get_author_followers(_, _info, slug: str):
@query.field('search_authors')
def search_authors(_, info, t: str):
q = search(select(Author), t)
def search_authors(_, info, what: str):
q = search(select(Author), what)
return get_with_stat(q)