diff --git a/SpotifyAPI.Web/Clients/LibraryClient.cs b/SpotifyAPI.Web/Clients/LibraryClient.cs index ed65beec..8a6f71ca 100644 --- a/SpotifyAPI.Web/Clients/LibraryClient.cs +++ b/SpotifyAPI.Web/Clients/LibraryClient.cs @@ -90,7 +90,7 @@ namespace SpotifyAPI.Web { Ensure.ArgumentNotNull(request, nameof(request)); - var statusCode = await API.Delete(SpotifyUrls.LibraryAlbums(), null, request.BuildBodyParams(), cancel).ConfigureAwait(false); + var statusCode = await API.Delete(SpotifyUrls.LibraryAlbums(), request.BuildQueryParams(), null, cancel).ConfigureAwait(false); return statusCode == HttpStatusCode.OK; } diff --git a/SpotifyAPI.Web/Models/Request/LibraryRemoveAlbumsRequest.cs b/SpotifyAPI.Web/Models/Request/LibraryRemoveAlbumsRequest.cs index 4221cdd1..e6620a14 100644 --- a/SpotifyAPI.Web/Models/Request/LibraryRemoveAlbumsRequest.cs +++ b/SpotifyAPI.Web/Models/Request/LibraryRemoveAlbumsRequest.cs @@ -22,7 +22,7 @@ namespace SpotifyAPI.Web /// For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs. /// /// - [BodyParam("ids")] + [QueryParam("ids")] public IList Ids { get; } } }