RemoveAlbums - send ids via query parameter, fixes #828

This commit is contained in:
Jonas Dellinger 2022-11-18 12:58:35 +01:00
parent b8a2190168
commit 9b8effe270
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -22,7 +22,7 @@ namespace SpotifyAPI.Web
/// For example: ids=4iV5W9uYEdYUVa79Axb7Rh,1301WleyT98MSxVHPZCA6M. Maximum: 50 IDs.
/// </summary>
/// <value></value>
[BodyParam("ids")]
[QueryParam("ids")]
public IList<string> Ids { get; }
}
}