mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 06:56:27 +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);
|
limit = Math.Min(limit, 50);
|
||||||
StringBuilder builder = new StringBuilder(APIBase + "/artists/" + id + "/albums");
|
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("&limit=" + limit);
|
||||||
builder.Append("&offset=" + offset);
|
builder.Append("&offset=" + offset);
|
||||||
if (!String.IsNullOrEmpty(market))
|
if (!String.IsNullOrEmpty(market))
|
||||||
@ -650,4 +650,4 @@ namespace SpotifyAPI.Web
|
|||||||
|
|
||||||
#endregion Tracks
|
#endregion Tracks
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user