mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-13 06:47:54 +02:00
Fix RetrieveChaptersJob
This commit is contained in:
@ -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.");
|
||||
|
Reference in New Issue
Block a user