From 4bc70eca6873f006c54a4c4c17797ef71ec4ec66 Mon Sep 17 00:00:00 2001 From: Glax <johanna@bernloehr.eu> Date: Fri, 16 May 2025 21:23:47 +0200 Subject: [PATCH] Distinct Jobs --- API/Tranga.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/API/Tranga.cs b/API/Tranga.cs index 03b3b6d..ac83e49 100644 --- a/API/Tranga.cs +++ b/API/Tranga.cs @@ -145,6 +145,7 @@ public static class Tranga List<Job> jobsWithoutDownloading = jobsWithoutMissingDependencies .Where(j => j.JobType != JobType.DownloadSingleChapterJob) + .DistinctBy(j => j.JobType) .ToList(); List<Job> firstChapterPerConnector = jobsWithoutMissingDependencies