mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
Removed some DumpJson() from the trace logs.
This commit is contained in:
parent
20a18c516b
commit
0ed75f163f
5 changed files with 10 additions and 48 deletions
|
@ -93,8 +93,6 @@ namespace PlexRequests.UI.Modules
|
|||
var authenticated = false;
|
||||
|
||||
var settings = AuthService.GetSettings();
|
||||
Log.Debug("Settings: ");
|
||||
Log.Debug(settings.DumpJson());
|
||||
|
||||
if (IsUserInDeniedList(username, settings))
|
||||
{
|
||||
|
@ -187,8 +185,6 @@ namespace PlexRequests.UI.Modules
|
|||
private bool CheckIfUserIsInPlexFriends(string username, string authToken)
|
||||
{
|
||||
var users = Api.GetUsers(authToken);
|
||||
Log.Trace("Plex Users: ");
|
||||
Log.Trace(users.DumpJson());
|
||||
var allUsers = users?.User?.Where(x => !string.IsNullOrEmpty(x.Title));
|
||||
return allUsers != null && allUsers.Any(x => x.Title.Equals(username, StringComparison.CurrentCultureIgnoreCase));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue