From: Marcel van der Veldt Date: Thu, 29 Aug 2024 22:41:07 +0000 (+0200) Subject: fix small typo X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=8828c10a01a5e4ff4f0706f631c5d4cd7ce345bd;p=music-assistant-server.git fix small typo --- diff --git a/music_assistant/server/controllers/cache.py b/music_assistant/server/controllers/cache.py index bf27f7f4..0d7e6b85 100644 --- a/music_assistant/server/controllers/cache.py +++ b/music_assistant/server/controllers/cache.py @@ -203,7 +203,7 @@ class CacheController(CoreController): for db_row in await self.database.get_rows(DB_TABLE_CACHE): # clean up db cache object only if expired if db_row["expires"] < cur_timestamp: - await self.delete(db_row["key"]) + await self.delete(db_row["id"]) cleaned_records += 1 await asyncio.sleep(0) # yield to eventloop if cleaned_records > 50: