Merge pull request #11876 from Bond-009/enableLib

This commit is contained in:
Cody Robibero 2024-05-30 09:32:00 -06:00 committed by GitHub
commit 563033786f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,7 +319,7 @@ public class LibraryStructureController : BaseJellyfinApiController
public ActionResult UpdateLibraryOptions( public ActionResult UpdateLibraryOptions(
[FromBody] UpdateLibraryOptionsDto request) [FromBody] UpdateLibraryOptionsDto request)
{ {
var item = _libraryManager.GetItemById<CollectionFolder>(request.Id, User.GetUserId()); var item = _libraryManager.GetItemById<CollectionFolder>(request.Id);
if (item is null) if (item is null)
{ {
return NotFound(); return NotFound();