From 434e30dc473c21d269129b85c5cc95ae9ebf2935 Mon Sep 17 00:00:00 2001 From: Glax Date: Thu, 13 Mar 2025 20:06:59 +0100 Subject: [PATCH] DownloadSingleChapterJob creates a scan for downloaded files --- API/Schema/Jobs/DownloadSingleChapterJob.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/Schema/Jobs/DownloadSingleChapterJob.cs b/API/Schema/Jobs/DownloadSingleChapterJob.cs index f7aa0ac..d611f79 100644 --- a/API/Schema/Jobs/DownloadSingleChapterJob.cs +++ b/API/Schema/Jobs/DownloadSingleChapterJob.cs @@ -73,8 +73,8 @@ public class DownloadSingleChapterJob(string chapterId, string? parentJobId = nu chapter.Downloaded = true; context.SaveChanges(); - - return []; + + return [new UpdateFilesDownloadedJob(0, manga.MangaId, this.JobId)]; } private void ProcessImage(string imagePath)