From 44583b5b2fa38a6e10e1a2fae44288005831260e Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 7 Jul 2026 20:39:39 +0200 Subject: [PATCH] Fix manga reload from source not updating cache The potential partial response wasn't handled properly which resulted in apollo not updating the cache for the successful part. E.g., chapter reload failed, and manga refresh succeeded. The manga data of the response should have updated the manga in the cache. --- src/features/manga/hooks/useRefreshManga.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/manga/hooks/useRefreshManga.ts b/src/features/manga/hooks/useRefreshManga.ts index 9df3f6aa..f7029b04 100644 --- a/src/features/manga/hooks/useRefreshManga.ts +++ b/src/features/manga/hooks/useRefreshManga.ts @@ -30,6 +30,7 @@ export const useRefreshManga = (mangaId: string) => { try { const { error: tmpError } = await requestManager.refreshManga(mangaId, { awaitRefetchQueries: true, + errorPolicy: 'all', }).response; handleError(tmpError);