From f3ac933e543ba48d1a2090a146481b0a02f97bea Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Fri, 21 Mar 2025 11:40:12 +0000 Subject: [PATCH] Update code in endpoints/signup.post.py --- endpoints/signup.post.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/endpoints/signup.post.py b/endpoints/signup.post.py index 0850a6b..b3483c8 100644 --- a/endpoints/signup.post.py +++ b/endpoints/signup.post.py @@ -16,17 +16,17 @@ router = APIRouter() async def get_playlist_songs( playlist_id: str = "playlist1" ): - """Fetch songs from a playlist""" + """Get songs from a playlist""" playlist = next((p for p in playlists if p["id"] == playlist_id), None) if not playlist: raise HTTPException(status_code=400, detail="Playlist not found") return { - "message": "Songs fetched successfully", + "message": "Songs retrieved successfully", "playlist_id": playlist_id, "songs": playlist["songs"], "features": { "total_songs": len(playlist["songs"]), - "can_shuffle": True + "shuffled": False } } \ No newline at end of file