diff options
| author | crobibero <cody@robibe.ro> | 2020-10-09 17:52:39 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-10-09 17:52:39 -0600 |
| commit | 27e753ddb4f6eb43ef867bff2cdf757702bffa1c (patch) | |
| tree | 1f39ebde67e3da3c2887068aaea6fc5e4804c7b5 /Jellyfin.Api/Controllers/StudiosController.cs | |
| parent | 10d48b062315581adc4706530bc388d53ff232a4 (diff) | |
Convert image type string to enum.
Diffstat (limited to 'Jellyfin.Api/Controllers/StudiosController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/StudiosController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/StudiosController.cs b/Jellyfin.Api/Controllers/StudiosController.cs index cdd5f958e..401f516fe 100644 --- a/Jellyfin.Api/Controllers/StudiosController.cs +++ b/Jellyfin.Api/Controllers/StudiosController.cs @@ -9,6 +9,7 @@ using MediaBrowser.Controller.Dto; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Library; using MediaBrowser.Model.Dto; +using MediaBrowser.Model.Entities; using MediaBrowser.Model.Querying; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -98,7 +99,7 @@ namespace Jellyfin.Api.Controllers [FromQuery] string? years, [FromQuery] bool? enableUserData, [FromQuery] int? imageTypeLimit, - [FromQuery] string? enableImageTypes, + [FromQuery] ImageType[] enableImageTypes, [FromQuery] string? person, [FromQuery] string? personIds, [FromQuery] string? personTypes, |
