Fix RetrieveChaptersJob

This commit is contained in:
2025-04-02 02:09:05 +02:00
parent 31beeeffae
commit f085c5cf8e
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ public class RetrieveChaptersJob(ulong recurrenceMs, string mangaId, string? par
protected override IEnumerable<Job> RunInternal(PgsqlContext context)
{
Manga? manga = Manga ?? context.Mangas.Find(MangaId);
Manga? manga = context.Mangas.Find(MangaId) ?? Manga;
if (manga is null)
{
Log.Error("Manga is null.");