cache-success-only
All checks were successful
Deploy to core / deploy (push) Successful in 1m46s

This commit is contained in:
2024-01-29 09:45:00 +03:00
parent 2f2fa346ed
commit ae9e025959
2 changed files with 16 additions and 17 deletions

View File

@@ -311,7 +311,7 @@ async def load_shouts_feed(_, info, options):
@query.field('load_shouts_search')
async def load_shouts_search(_, _info, text, limit=50, offset=0):
if text and len(text) > 2:
if isinstance(text, str) and len(text) > 2:
return await search_text(text, limit, offset)
return []