This commit is contained in:
parent
d14f0c2f95
commit
56cdd4e0f9
|
@ -286,7 +286,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:
|
||||
return SearchService.search(text, limit, offset)
|
||||
return await SearchService.search(text, limit, offset)
|
||||
else:
|
||||
return []
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user