Fix Name UpdateCoverJob

This commit is contained in:
Glax 2025-05-18 17:55:37 +02:00
parent 62b035f6c5
commit 503d9dfb5f
2 changed files with 3 additions and 3 deletions

View File

@ -12,5 +12,5 @@ public enum JobType : byte
UpdateChaptersDownloadedJob = 6,
MoveMangaLibraryJob = 7,
UpdateSingleChapterDownloadedJob = 8,
UpdateCoversJob = 9,
UpdateCoverJob = 9,
}

View File

@ -21,7 +21,7 @@ public class UpdateCoverJob : Job
public UpdateCoverJob(Manga manga, ulong recurrenceMs, Job? parentJob = null, ICollection<Job>? dependsOnJobs = null)
: base(TokenGen.CreateToken(typeof(UpdateCoverJob)), JobType.UpdateCoversJob, recurrenceMs, parentJob, dependsOnJobs)
: base(TokenGen.CreateToken(typeof(UpdateCoverJob)), JobType.UpdateCoverJob, recurrenceMs, parentJob, dependsOnJobs)
{
this.MangaId = manga.MangaId;
this.Manga = manga;
@ -31,7 +31,7 @@ public class UpdateCoverJob : Job
/// EF ONLY!!!
/// </summary>
internal UpdateCoverJob(ILazyLoader lazyLoader, string jobId, ulong recurrenceMs, string mangaId, string? parentJobId)
: base(lazyLoader, jobId, JobType.UpdateCoversJob, recurrenceMs, parentJobId)
: base(lazyLoader, jobId, JobType.UpdateCoverJob, recurrenceMs, parentJobId)
{
this.MangaId = mangaId;
}