diff options
| author | crobibero <cody@robibe.ro> | 2020-10-14 13:03:36 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-10-14 13:03:36 -0600 |
| commit | f2a86d9c80748b39c4bd798882dea79b7f345302 (patch) | |
| tree | 3c74a73f4e86f9bbe4f10973c36ea8d4f4765a75 /Jellyfin.Api/Controllers/LibraryStructureController.cs | |
| parent | d54de29485cc622a64c17884b39c9bc65e33af29 (diff) | |
Remove CommaDelimitedArrayModelBinderProvider
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryStructureController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryStructureController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryStructureController.cs b/Jellyfin.Api/Controllers/LibraryStructureController.cs index d290e3c5b..94995650c 100644 --- a/Jellyfin.Api/Controllers/LibraryStructureController.cs +++ b/Jellyfin.Api/Controllers/LibraryStructureController.cs @@ -7,6 +7,7 @@ using System.Linq; using System.Threading; using System.Threading.Tasks; using Jellyfin.Api.Constants; +using Jellyfin.Api.ModelBinders; using Jellyfin.Api.Models.LibraryStructureDto; using MediaBrowser.Common.Progress; using MediaBrowser.Controller; @@ -75,7 +76,7 @@ namespace Jellyfin.Api.Controllers public async Task<ActionResult> AddVirtualFolder( [FromQuery] string? name, [FromQuery] string? collectionType, - [FromQuery] string[] paths, + [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] string[] paths, [FromBody] AddVirtualFolderDto? libraryOptionsDto, [FromQuery] bool refreshLibrary = false) { |
