v0.8.4.2 - Hotfix (#3422)
This commit is contained in:
parent
19b0163da7
commit
85d0d1f0f4
2 changed files with 15 additions and 15 deletions
|
|
@ -343,7 +343,7 @@ public class SeriesService : ISeriesService
|
|||
var existingPeople = await _unitOfWork.PersonRepository.GetPeopleByNames(normalizedNames);
|
||||
|
||||
// Use a dictionary for quick lookups
|
||||
var existingPeopleDictionary = existingPeople.ToDictionary(p => p.NormalizedName, p => p);
|
||||
var existingPeopleDictionary = existingPeople.DistinctBy(p => p.NormalizedName).ToDictionary(p => p.NormalizedName, p => p);
|
||||
|
||||
// List to track people that will be added to the metadata
|
||||
var peopleToAdd = new List<Person>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue