From ef864e24b9f1d1709db270f0a81e15eb91028665 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Wed, 24 Feb 2021 22:02:47 +0100 Subject: Merge pull request #5301 from Bond-009/validinput (cherry picked from commit 58609795007d4a5e4d9e94e92f7c82999ad8ad0a) Signed-off-by: Joshua M. Boniface --- Jellyfin.Api/Controllers/LibraryStructureController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Jellyfin.Api/Controllers/LibraryStructureController.cs') 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 AddVirtualFolder( [FromQuery] string? name, - [FromQuery] string? collectionType, + [FromQuery] CollectionTypeOptions? collectionType, [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] string[] paths, [FromBody] AddVirtualFolderDto? libraryOptionsDto, [FromQuery] bool refreshLibrary = false) -- cgit v1.2.3