Skip to content

Commit cc90c5a

Browse files
committed
Make Fields List instead of IList, fixes JohnnyCrazy#779
1 parent 9b8effe commit cc90c5a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎SpotifyAPI.Web/Models/Request/PlaylistGetItemsRequest.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public PlaylistGetItemsRequest(AdditionalTypes types = AdditionalTypes.All)
3838
/// </summary>
3939
/// <value></value>
4040
[QueryParam("fields")]
41-
public IList<string> Fields { get; }
41+
public List<string> Fields { get; }
4242

4343
/// <summary>
4444
/// The maximum number of items to return. Default: 100. Minimum: 1. Maximum: 100.

‎SpotifyAPI.Web/Models/Request/PlaylistGetRequest.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public PlaylistGetRequest(AdditionalTypes types = AdditionalTypes.All)
2626
/// </summary>
2727
/// <value></value>
2828
[QueryParam("fields")]
29-
public IList<string> Fields { get; }
29+
public List<string> Fields { get; }
3030

3131
/// <summary>
3232
/// An ISO 3166-1 alpha-2 country code or the string from_token.

0 commit comments

Comments
 (0)