mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +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))
|
||||||
|
Loading…
Reference in New Issue
Block a user