fix
This commit is contained in:
parent
e5a2dfaade
commit
268ab4cc76
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ pub async fn playlist_tracks_route(id: &str, u: User) -> FallibleApiResponse {
|
||||||
tracks.push(track);
|
tracks.push(track);
|
||||||
}
|
}
|
||||||
|
|
||||||
let tracks: Vec<Track> = sqlx::query_as("SELECT * FROM track WHERE id IN ANY($1)")
|
let tracks: Vec<Track> = sqlx::query_as("SELECT * FROM track WHERE id = ANY($1)")
|
||||||
.bind(tracks)
|
.bind(tracks)
|
||||||
.fetch_all(get_pg!())
|
.fetch_all(get_pg!())
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in a new issue