mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-06-05 22:35:17 -04:00
Polish 2 (#3555)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com> Co-authored-by: Fesaa <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
@@ -1848,7 +1848,7 @@ public class SeriesRepository : ISeriesRepository
|
||||
.ToList();
|
||||
|
||||
// Prefer the first match or handle duplicates by choosing the last one
|
||||
if (matchingSeries.Any())
|
||||
if (matchingSeries.Count != 0)
|
||||
{
|
||||
ids.Add(matchingSeries.Last().Id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user