Actually send library db cleanup mutation (#577)

This commit is contained in:
schroda
2024-01-26 21:36:07 +01:00
committed by GitHub
parent 18ca66cb40
commit f335b59dca

View File

@@ -28,7 +28,7 @@ const removeNonLibraryMangasFromCategories = async (): Promise<void> => {
const mangaIdsToRemove = Mangas.getIds(nonLibraryMangas.data.mangas.nodes);
if (!mangaIdsToRemove.length) {
if (mangaIdsToRemove.length) {
await requestManager.updateMangasCategories(mangaIdsToRemove, {
clearCategories: true,
}).response;