mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +00:00
Change type to album_type as per API docs
When filtering by album type, the parameter is not type, but album_type See https://developer.spotify.com/web-api/get-artists-albums/
This commit is contained in:
parent
20972c46d6
commit
fc6c849c27
@ -144,7 +144,7 @@ namespace SpotifyAPI.Web
|
||||
{
|
||||
limit = Math.Min(limit, 50);
|
||||
StringBuilder builder = new StringBuilder(APIBase + "/artists/" + id + "/albums");
|
||||
builder.Append("?type=" + type.GetStringAttribute(","));
|
||||
builder.Append("?album_type=" + type.GetStringAttribute(","));
|
||||
builder.Append("&limit=" + limit);
|
||||
builder.Append("&offset=" + offset);
|
||||
if (!String.IsNullOrEmpty(market))
|
||||
@ -650,4 +650,4 @@ namespace SpotifyAPI.Web
|
||||
|
||||
#endregion Tracks
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user