Use Tracked entity

This commit is contained in:
2025-09-05 03:00:17 +02:00
parent e0735eea0f
commit 62090d1677

View File

@@ -66,7 +66,7 @@ public class DownloadChapterFromMangaconnectorWorker(MangaConnectorId<Chapter> c
if (imageUrls.Length < 1) if (imageUrls.Length < 1)
{ {
Log.Info($"No imageUrls for chapter {chapter}"); Log.Info($"No imageUrls for chapter {chapter}");
chId.UseForDownload = false; // Do not try to download from this again mangaConnectorId.UseForDownload = false; // Do not try to download from this again
if(await DbContext.Sync(CancellationToken) is { success: false } result) if(await DbContext.Sync(CancellationToken) is { success: false } result)
Log.Error(result.exceptionMessage); Log.Error(result.exceptionMessage);
return []; return [];