Actually send library db cleanup mutation (#577)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user