mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-24 02:02:29 -04:00
Backport pull request #11876 from jellyfin/release-10.9.z
Don't check if admin has access to library when updating Original-merge: 563033786f82ae0a0b63d99f7a039cd0987c82bb Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
dc2db22c3d
commit
4035f6aa21
@ -319,7 +319,7 @@ public class LibraryStructureController : BaseJellyfinApiController
|
||||
public ActionResult UpdateLibraryOptions(
|
||||
[FromBody] UpdateLibraryOptionsDto request)
|
||||
{
|
||||
var item = _libraryManager.GetItemById<CollectionFolder>(request.Id, User.GetUserId());
|
||||
var item = _libraryManager.GetItemById<CollectionFolder>(request.Id);
|
||||
if (item is null)
|
||||
{
|
||||
return NotFound();
|
||||
|
Loading…
x
Reference in New Issue
Block a user