diff --git a/src/route/playlist.rs b/src/route/playlist.rs index ad4d7e3..65d550c 100644 --- a/src/route/playlist.rs +++ b/src/route/playlist.rs @@ -102,7 +102,7 @@ pub async fn playlist_tracks_route(id: &str, u: User) -> FallibleApiResponse { tracks.push(track); } - let tracks: Vec = sqlx::query_as("SELECT * FROM track WHERE id IN ANY($1)") + let tracks: Vec = sqlx::query_as("SELECT * FROM track WHERE id = ANY($1)") .bind(tracks) .fetch_all(get_pg!()) .await