Fix Mangapark duplicate entries

This commit is contained in:
2025-10-02 17:47:52 +02:00
parent 8ebd712416
commit d5b6ff4267
2 changed files with 9 additions and 12 deletions

View File

@@ -29,7 +29,7 @@ public class Global : MangaConnector
}while(tasks.Any(t => !t.IsCompleted));
//Concatenate all results into one
(Manga, MangaConnectorId<Manga>)[] ret = tasks.Select(t => t.IsCompletedSuccessfully ? t.Result : []).ToArray().SelectMany(i => i).ToArray();
(Manga, MangaConnectorId<Manga>)[] ret = tasks.Select(t => t.IsCompletedSuccessfully ? t.Result : []).SelectMany(i => i).ToArray();
Log.Debug($"Got {ret.Length} results.");
return ret;
}