Skip to content

Commit

Permalink
Fix track removal
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed May 31, 2021
1 parent 6e3accf commit 55e010e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/kubukoz/next/Spotify.scala
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ object Spotify {
Kleisli {
_.expect[api.spotify.Anything](
Request[F](DELETE, SpotifyApi / "v1" / "playlists" / playlistId / "tracks")
.withEntity(Map("tracks" := Map("uri" := trackUri)).asJson)
.withEntity(Map("tracks" := List(Map("uri" := trackUri))).asJson)
).void
}

Expand Down

0 comments on commit 55e010e

Please sign in to comment.