diff --git a/backend/endpoints/spotify_api.py b/backend/endpoints/spotify_api.py index 9728d75..b70f05a 100644 --- a/backend/endpoints/spotify_api.py +++ b/backend/endpoints/spotify_api.py @@ -49,7 +49,7 @@ def callback(code: str): @music_router.get("/search") def search(query: str): try: - url = SPOTIFY_PLAY_URL + f"search?q={query}&type={["track"]}" + url = SPOTIFY_PLAY_URL + f"search?q={query}&type=track" header = { "Authorization": "Bearer " + SessionManager.instance().get_current_session().access_tokens, "Content-Type": "application/json"