mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 03:50:08 -07:00
Fixed #704
This commit is contained in:
parent
60b7e1f80e
commit
30a59c8a8b
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue