Shadowghost 1 년 전
부모
커밋
247ec19de4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Jellyfin.Api/Controllers/PlaylistsController.cs

+ 1 - 1
Jellyfin.Api/Controllers/PlaylistsController.cs

@@ -208,7 +208,7 @@ public class PlaylistsController : BaseJellyfinApiController
             return NotFound("Playlist not found");
         }
 
-        var isPermitted = playlist.OwnerUserId.Equals(userId)
+        var isPermitted = playlist.OwnerUserId.Equals(callingUserId)
             || playlist.Shares.Any(s => s.CanEdit && s.UserId.Equals(callingUserId))
             || userId.Equals(callingUserId);