Fix asynchronous cache deletion in ChatService

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-22 22:37:17 -03:00
commit 26562925ae

View file

@ -36,4 +36,4 @@ class ChatService(Service):
"""
Clear the cache for a client.
"""
self.cache_service.delete(flow_id, lock=lock or self._cache_locks[flow_id])
await self.cache_service.delete(flow_id, lock=lock or self._cache_locks[flow_id])