async-fig
All checks were successful
Deploy on push / deploy (push) Successful in 23s

This commit is contained in:
Untone 2024-04-08 12:42:45 +03:00
parent c301256751
commit d1cd69eb2a

View File

@ -135,7 +135,7 @@ class SearchService:
async def perform_index(self, shout):
if self.client:
await self.client.index(index=self.index_name, id=str(shout.id), body=shout.dict())
self.client.index(index=self.index_name, id=str(shout.id), body=shout.dict())
async def search(self, text, limit, offset):
logger.debug(f' Ищем: {text}')