mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-08 23:00:51 +02:00
Fix conditional with a less verbose one
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
This commit is contained in:
parent
5d760b7ee8
commit
737d4d2b3f
|
@ -275,8 +275,8 @@ namespace MediaBrowser.Api
|
|||
{
|
||||
var users = _userManager
|
||||
.Users
|
||||
.Where(item => item.Policy.IsDisabled == false)
|
||||
.Where(item => item.Policy.IsHidden == false);
|
||||
.Where(item => !item.Policy.IsDisabled)
|
||||
.Where(item => !item.Policy.IsHidden);
|
||||
|
||||
var deviceId = _authContext.GetAuthorizationInfo(Request).DeviceId;
|
||||
|
||||
|
|
Loading…
Reference in a new issue