diff --git a/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs b/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs index ec5c388d5..ef94e4ad3 100644 --- a/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs +++ b/src/Ombi.Schedule/Jobs/Plex/PlexUserImporter.cs @@ -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