From 55e010ebcbac3f8790a126f1811823114c83612e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Mon, 31 May 2021 21:08:22 +0200 Subject: [PATCH] Fix track removal --- src/main/scala/com/kubukoz/next/Spotify.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/kubukoz/next/Spotify.scala b/src/main/scala/com/kubukoz/next/Spotify.scala index 35b25f0b..c5a82d84 100644 --- a/src/main/scala/com/kubukoz/next/Spotify.scala +++ b/src/main/scala/com/kubukoz/next/Spotify.scala @@ -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 }