Load ParentManga.Library for Chapter
Some checks failed
Docker Image CI / build (push) Has been cancelled

This commit is contained in:
Glax 2025-05-17 23:30:28 +02:00
parent 8efb60652b
commit 698d138642

View File

@ -51,6 +51,7 @@ public class DownloadSingleChapterJob : Job
Log.Info($"No imageUrls for chapter {ChapterId}"); Log.Info($"No imageUrls for chapter {ChapterId}");
return []; return [];
} }
context.Entry(Chapter.ParentManga).Reference<LocalLibrary>(m => m.Library).Load(); //Need to explicitly load, because we are not accessing navigation directly...
string saveArchiveFilePath = Chapter.FullArchiveFilePath; string saveArchiveFilePath = Chapter.FullArchiveFilePath;
Log.Debug($"Chapter path: {saveArchiveFilePath}"); Log.Debug($"Chapter path: {saveArchiveFilePath}");