From cc90c5afa44fd08eb3497a200a005586cb8c53a2 Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Fri, 18 Nov 2022 14:07:19 +0100 Subject: [PATCH] Make Fields List instead of IList, fixes #779 --- SpotifyAPI.Web/Models/Request/PlaylistGetItemsRequest.cs | 2 +- SpotifyAPI.Web/Models/Request/PlaylistGetRequest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SpotifyAPI.Web/Models/Request/PlaylistGetItemsRequest.cs b/SpotifyAPI.Web/Models/Request/PlaylistGetItemsRequest.cs index a175e032..32907c22 100644 --- a/SpotifyAPI.Web/Models/Request/PlaylistGetItemsRequest.cs +++ b/SpotifyAPI.Web/Models/Request/PlaylistGetItemsRequest.cs @@ -38,7 +38,7 @@ namespace SpotifyAPI.Web /// /// [QueryParam("fields")] - public IList Fields { get; } + public List Fields { get; } /// /// The maximum number of items to return. Default: 100. Minimum: 1. Maximum: 100. diff --git a/SpotifyAPI.Web/Models/Request/PlaylistGetRequest.cs b/SpotifyAPI.Web/Models/Request/PlaylistGetRequest.cs index 558ed9dd..96391911 100644 --- a/SpotifyAPI.Web/Models/Request/PlaylistGetRequest.cs +++ b/SpotifyAPI.Web/Models/Request/PlaylistGetRequest.cs @@ -26,7 +26,7 @@ namespace SpotifyAPI.Web /// /// [QueryParam("fields")] - public IList Fields { get; } + public List Fields { get; } /// /// An ISO 3166-1 alpha-2 country code or the string from_token.