Fix conditional with a less verbose one

Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
pull/2492/head
Davide Polonio 5 years ago committed by GitHub
parent 5d760b7ee8
commit 737d4d2b3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save