diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-11 19:31:30 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-12-12 06:11:27 -0700 |
| commit | 32629cd7da0a39962009bffd9389a660c196f541 (patch) | |
| tree | baf7eb3aa25a9753848e73667ef71f97b9538b7b /Jellyfin.Api/Controllers/SearchController.cs | |
| parent | a90614d194314f8a4d6f097637836610ce8b6bbe (diff) | |
Use BaseItemKind where possible
Diffstat (limited to 'Jellyfin.Api/Controllers/SearchController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SearchController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/SearchController.cs b/Jellyfin.Api/Controllers/SearchController.cs index 73bdf90182..02ee7860f7 100644 --- a/Jellyfin.Api/Controllers/SearchController.cs +++ b/Jellyfin.Api/Controllers/SearchController.cs @@ -110,8 +110,8 @@ namespace Jellyfin.Api.Controllers IncludeStudios = includeStudios, StartIndex = startIndex, UserId = userId ?? Guid.Empty, - IncludeItemTypes = RequestHelpers.GetItemTypeStrings(includeItemTypes), - ExcludeItemTypes = RequestHelpers.GetItemTypeStrings(excludeItemTypes), + IncludeItemTypes = includeItemTypes, + ExcludeItemTypes = excludeItemTypes, MediaTypes = mediaTypes, ParentId = parentId, |
