pull/733/head
Jamie.Rees 8 years ago
parent 60b7e1f80e
commit 30a59c8a8b

@ -92,6 +92,12 @@ namespace PlexRequests.Core.Migration.Migrations
var usersToNotify = UserNotifyRepo.GetAll();
var plexUsers = PlexUsers.GetAll().ToList();
var users = UserRepo.GetAll().ToList();
if (usersToNotify == null)
{
return;
}
foreach (var u in usersToNotify)
{
var selectedPlexUser = plexUsers.FirstOrDefault(x => x.Username.Equals(u.Username, StringComparison.CurrentCultureIgnoreCase));

Loading…
Cancel
Save