Some more around the plex importer !minor

This commit is contained in:
tidusjar 2017-10-01 20:57:00 +01:00
commit 4c52516284

View file

@ -73,7 +73,7 @@ namespace Ombi.Schedule.Jobs.Plex
var newUser = new OmbiUser
{
UserType = UserType.PlexUser,
UserName = plexUser.Username,
UserName = plexUser?.Username ?? plexUser.Id,
ProviderUserId = plexUser.Id,
Email = plexUser?.Email ?? string.Empty,
Alias = string.Empty