aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/LibraryStructureController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-02-24 22:02:47 +0100
committerGitHub <noreply@github.com>2021-02-24 22:02:47 +0100
commit58609795007d4a5e4d9e94e92f7c82999ad8ad0a (patch)
tree4397da12af7c90f6d7b966fe6a9c9e499d6e9755 /Jellyfin.Api/Controllers/LibraryStructureController.cs
parent1569cc301cae443c49e65cb316162cc4bd5863e5 (diff)
parent81f527f8083289ce8eab77d522f51f06c3a5a70c (diff)
Merge pull request #5301 from Bond-009/validinput
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryStructureController.cs')
-rw-r--r--Jellyfin.Api/Controllers/LibraryStructureController.cs2
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)