mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-11 05:09:49 +02:00
redundancy
This commit is contained in:
@@ -17,7 +17,7 @@ public class MoveMangaLibraryWorker(Manga manga, FileLibrary toLibrary, IEnumera
|
||||
// Get Manga (with and Library)
|
||||
if (await DbContext.Mangas
|
||||
.Include(m => m.Library)
|
||||
.Include(m => m.Chapters)
|
||||
.Include(m => m.Chapters).ThenInclude(ch => ch.ParentManga).ThenInclude(m => m.Library) //kind of redundant, but better be safe
|
||||
.FirstOrDefaultAsync(m => m.Key == MangaId, CancellationToken) is not { } manga)
|
||||
{
|
||||
Log.Error("Could not find Manga.");
|
||||
|
Reference in New Issue
Block a user