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

pull/4983/head
Jamie 1 year ago committed by GitHub
parent 7789d6c94f
commit 4e80e7b7c3
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