From 6959853d8736d03ae5ecca28e79ee6d581fb1d45 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Wed, 25 Oct 2023 13:26:49 +0300 Subject: [PATCH] Fix deezer caching --- bot/handlers/on_chosen/deezer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/handlers/on_chosen/deezer.py b/bot/handlers/on_chosen/deezer.py index 92bac83..07bc6c4 100644 --- a/bot/handlers/on_chosen/deezer.py +++ b/bot/handlers/on_chosen/deezer.py @@ -29,7 +29,7 @@ async def on_new_chosen(chosen_result: ChosenInlineResult, bot: Bot): duration=bytestream.song.duration, ) - db.spotify[bytestream.song.id] = audio.audio.file_id + db.deezer[bytestream.song.id] = audio.audio.file_id await bot.edit_message_media( inline_message_id=chosen_result.inline_message_id,