diff options
| author | JPVenson <github@jpb.email> | 2024-11-11 00:27:30 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-11 00:27:30 +0000 |
| commit | 2d4f7f725fb3d93dfa21f0ce4c48d292575d6fb1 (patch) | |
| tree | eb3761115192b510444bb94238617d30b99a0fee /Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs | |
| parent | 911139e2d57d22c4ddc0fb0a50997d6d235c3a3c (diff) | |
Fixed TopParent not beeing migrated
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs')
| -rw-r--r-- | Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs index aef02ce6b..9646f13e9 100644 --- a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs +++ b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs @@ -144,9 +144,15 @@ namespace Emby.Server.Implementations.EntryPoints .Select(i => { var dto = _userDataManager.GetUserDataDto(i, user); + if (dto is null) + { + return null!; + } + dto.ItemId = i.Id; return dto; }) + .Where(e => e is not null) .ToArray() }; } |
