Fixed TopParent not beeing migrated

This commit is contained in:
JPVenson
2024-11-11 00:27:30 +00:00
parent 911139e2d5
commit 2d4f7f725f
8 changed files with 32 additions and 16 deletions

View File

@@ -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()
};
}