diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-11-12 12:17:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-12 12:17:46 +0100 |
| commit | 4288106acdcd36d6d18c9f1be884f791e4e5170b (patch) | |
| tree | 686c1c708f189663b86d92c512dc0bcfd8b1aadc /Jellyfin.Api/Controllers/SearchController.cs | |
| parent | 88873b6e9eedd1b600bd17c56ee66109d2ef566d (diff) | |
| parent | 453c65d6193ff9745d03e043725fd67712aaec62 (diff) | |
Merge pull request #9762 from crobibero/media-type
Convert string MediaType to enum MediaType
Diffstat (limited to 'Jellyfin.Api/Controllers/SearchController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SearchController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SearchController.cs b/Jellyfin.Api/Controllers/SearchController.cs index 387b3ea5a..5b4594165 100644 --- a/Jellyfin.Api/Controllers/SearchController.cs +++ b/Jellyfin.Api/Controllers/SearchController.cs @@ -86,7 +86,7 @@ public class SearchController : BaseJellyfinApiController [FromQuery, Required] string searchTerm, [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] BaseItemKind[] includeItemTypes, [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] BaseItemKind[] excludeItemTypes, - [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] string[] mediaTypes, + [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] MediaType[] mediaTypes, [FromQuery] Guid? parentId, [FromQuery] bool? isMovie, [FromQuery] bool? isSeries, |
