Skip to content

Commit

Permalink
fix(backend): disable all chapters properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Thundernerd committed Jan 9, 2024
1 parent 1ec1260 commit e2ddc4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public override async Task HandleAsync(MangaDisableChaptersRequest req, Cancella
UpdateResult updateResult = await _requestedChapterCollection.UpdateManyAsync(
RequestedChapterDocument.Filter.And(
RequestedChapterDocument.Filter.Eq(x => x.RequestedMangaId, manga.Id),
RequestedChapterDocument.Filter.Eq(x => x.MarkedForDownload, false)),
RequestedChapterDocument.Filter.Eq(x => x.MarkedForDownload, true)),
RequestedChapterDocument.Update.Set(x => x.MarkedForDownload, false),
cancellationToken: ct);

Expand Down

0 comments on commit e2ddc4d

Please sign in to comment.