From 47e32199ff3027097b02dec93ce09d0744375678 Mon Sep 17 00:00:00 2001 From: erikmf123 Date: Mon, 23 Mar 2026 16:52:44 +0000 Subject: [PATCH] loste issue --- routes/song_router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/song_router.py b/routes/song_router.py index 87c730f2..1f7e6506 100644 --- a/routes/song_router.py +++ b/routes/song_router.py @@ -31,7 +31,7 @@ def get_song(song_id: int, db: DB_dependency): def create_song(song_data: SongCreate, db: DB_dependency): num_existing = db.query(Song_DB).filter(Song_DB.title == song_data.title).count() if num_existing > 0: - raise HTTPException(status.HTTP_400_BAD_REQUEST, detail="Ths post already exists") + raise HTTPException(status.HTTP_400_BAD_REQUEST, detail="This song already exists") song = Song_DB( title=song_data.title, author=song_data.author,