@@ -390,7 +390,6 @@ public sealed class BaseItemRepository
ArgumentNullException.ThrowIfNull(items);
cancellationToken.ThrowIfCancellationRequested();
- var itemsLen = items.Count;
var tuples = new List<(BaseItemDto Item, List<Guid>? AncestorIds, BaseItemDto TopParent, IEnumerable<string> UserDataKey, List<string> InheritedTags)>();
foreach (var item in items.GroupBy(e => e.Id).Select(e => e.Last()))
{