mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
adressing pr comments
This commit is contained in:
parent
1d631540ac
commit
ba003e06ef
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ namespace MediaBrowser.Api.UserLibrary
|
|||
request.IncludeItemTypes = "Playlist";
|
||||
}
|
||||
|
||||
if (!user.Policy.EnableAllFolders && !user.Policy.EnabledFolders.Any(i => new Guid(i).Equals(item.Id)))
|
||||
if (!user.Policy.EnableAllFolders && !user.Policy.EnabledFolders.Any(i => new Guid(i) == item.Id))
|
||||
{
|
||||
Logger.LogWarning($"{user.Name} is not permitted to access Library {item.Name}.");
|
||||
return new QueryResult<BaseItem>
|
||||
|
|
Loading…
Reference in a new issue