From e2ddc4dc489f986898098849b8e3d4930b789544 Mon Sep 17 00:00:00 2001 From: Christiaan Bloemendaal Date: Tue, 9 Jan 2024 16:53:58 +0100 Subject: [PATCH] fix(backend): disable all chapters properly --- .../Manga/DisableChapters/MangaDisableChaptersEndpoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mangarr.Backend/Endpoints/Manga/DisableChapters/MangaDisableChaptersEndpoint.cs b/src/Mangarr.Backend/Endpoints/Manga/DisableChapters/MangaDisableChaptersEndpoint.cs index 01252f7..2d06add 100644 --- a/src/Mangarr.Backend/Endpoints/Manga/DisableChapters/MangaDisableChaptersEndpoint.cs +++ b/src/Mangarr.Backend/Endpoints/Manga/DisableChapters/MangaDisableChaptersEndpoint.cs @@ -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);