fix(user-importer): Do not delete the Plex Admin as part of the user Importer cleanup #4870

4870
Jamie 1 year ago committed by GitHub
parent 7789d6c94f
commit 82aa5d241d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -71,11 +71,7 @@ namespace Ombi.Schedule.Jobs.Plex
if (userManagementSettings.ImportPlexAdmin)
{
OmbiUser newOrUpdatedAdmin = await ImportAdmin(userManagementSettings, server, allUsers);
if (newOrUpdatedAdmin != null)
{
newOrUpdatedUsers.Add(newOrUpdatedAdmin);
}
await ImportAdmin(userManagementSettings, server, allUsers);
}
if (userManagementSettings.ImportPlexUsers)
{
@ -264,4 +260,4 @@ namespace Ombi.Schedule.Jobs.Plex
GC.SuppressFinalize(this);
}
}
}
}

Loading…
Cancel
Save