revert redundancy
Some checks failed
Docker Image CI / build (push) Has been cancelled

This commit is contained in:
2025-10-11 20:32:44 +02:00
parent 3ff44339b5
commit 8207816c9f

View File

@@ -17,7 +17,7 @@ public class MoveMangaLibraryWorker(Manga manga, FileLibrary toLibrary, IEnumera
// Get Manga (with and Library) // Get Manga (with and Library)
if (await DbContext.Mangas if (await DbContext.Mangas
.Include(m => m.Library) .Include(m => m.Library)
.Include(m => m.Chapters).ThenInclude(ch => ch.ParentManga).ThenInclude(m => m.Library) //kind of redundant, but better be safe .Include(m => m.Chapters)
.FirstOrDefaultAsync(m => m.Key == MangaId, CancellationToken) is not { } manga) .FirstOrDefaultAsync(m => m.Key == MangaId, CancellationToken) is not { } manga)
{ {
Log.Error("Could not find Manga."); Log.Error("Could not find Manga.");