Merge pull request #60 from CVertex/patch-1

Change type to album_type as per API docs
This commit is contained in:
Jonas Dellinger 2015-12-07 13:51:46 +01:00
commit a2c542d629

View File

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