From d9926642adfae11d5ddc5b19a9155ecf294a34d4 Mon Sep 17 00:00:00 2001 From: Khoa Vo Date: Thu, 1 Jan 2026 16:52:49 +0700 Subject: [PATCH] Cleanup: Normalize variable names in stream_audio --- backend/api/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/routes.py b/backend/api/routes.py index 5c71c87..c433033 100644 --- a/backend/api/routes.py +++ b/backend/api/routes.py @@ -659,8 +659,8 @@ async def stream_audio(id: str): raise ydl_error if stream_url: - cache_data = {"url": stream_url, "mime": mime_type, "headers": http_headers} - cache.set(cache_key, cache_data, ttl_seconds=3600) + cached_data = {"url": stream_url, "mime": mime_type, "headers": http_headers} + cache.set(cache_key, cached_data, ttl_seconds=3600) if not stream_url: raise HTTPException(status_code=404, detail="Audio stream not found")