search-simpler-query-fix-4
All checks were successful
Deploy to core / deploy (push) Successful in 1m39s

This commit is contained in:
Untone 2024-01-28 23:46:01 +03:00
parent 30a281a693
commit 77114c66ec

View File

@ -353,8 +353,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
# print(results)
logger.debug(f'search found {len(results)} results')
for x in results:
shout = x[0]
for shout in results:
shout_data = shout.dict()
shout_slug = shout_data.get('slug', '')
topic = (