Skip to content

Commit

Permalink
fix: only monitor new chapters
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundernerd committed Mar 17, 2024
1 parent be199bb commit e5cd3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mangarr.Stack/Jobs/IndexMangaJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private async Task ProcessManga(RequestedMangaDocument manga, CancellationToken
}

requestedChapterDocument.Downloaded = doesChapterExistResult.Value;
requestedChapterDocument.MarkedForDownload = !doesChapterExistResult.Value;
requestedChapterDocument.MarkedForDownload = !doesChapterExistResult.Value && markedForDownload;

await _requestedChapterRepository.AddAsync(requestedChapterDocument);

Expand Down

0 comments on commit e5cd3b4

Please sign in to comment.