mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Merge pull request #60 from CVertex/patch-1
Change type to album_type as per API docs
This commit is contained in:
commit
a2c542d629
@ -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