diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-02-24 02:05:12 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-02-24 02:05:12 +0100 |
| commit | 914e891689af38911332d14b18b4a1b4834cd9ae (patch) | |
| tree | 5b4b3971a2840027e2de539d2a2c7527b135bb13 /Jellyfin.Api/Controllers/LibraryStructureController.cs | |
| parent | 92e5a5c6e8a81c3d604a943628fcb56f3778b042 (diff) | |
Fix unchecked input
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryStructureController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryStructureController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryStructureController.cs b/Jellyfin.Api/Controllers/LibraryStructureController.cs index 94995650c..328efea26 100644 --- a/Jellyfin.Api/Controllers/LibraryStructureController.cs +++ b/Jellyfin.Api/Controllers/LibraryStructureController.cs @@ -75,7 +75,7 @@ namespace Jellyfin.Api.Controllers [ProducesResponseType(StatusCodes.Status204NoContent)] public async Task<ActionResult> AddVirtualFolder( [FromQuery] string? name, - [FromQuery] string? collectionType, + [FromQuery] CollectionTypeOptions? collectionType, [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] string[] paths, [FromBody] AddVirtualFolderDto? libraryOptionsDto, [FromQuery] bool refreshLibrary = false) |
