From 78699e58b968cf61a2804295c74c6273fb3a64a7 Mon Sep 17 00:00:00 2001 From: ElementalCrisis <9443295+ElementalCrisis@users.noreply.github.com> Date: Wed, 15 Nov 2023 02:26:03 -0800 Subject: [PATCH] Revert Additional Changes. --- src/core/rtkQuery/splitV3Api.ts | 1 - src/core/rtkQuery/splitV3Api/seriesApi.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/rtkQuery/splitV3Api.ts b/src/core/rtkQuery/splitV3Api.ts index 424ca9d17..4b43fd5a8 100644 --- a/src/core/rtkQuery/splitV3Api.ts +++ b/src/core/rtkQuery/splitV3Api.ts @@ -22,7 +22,6 @@ export const splitV3Api = createApi({ 'ImportFolder', 'QueueItems', 'SeriesAniDB', - 'SeriesImages', 'SeriesEpisodes', 'SeriesUpdated', 'Settings', diff --git a/src/core/rtkQuery/splitV3Api/seriesApi.ts b/src/core/rtkQuery/splitV3Api/seriesApi.ts index 49c1f44a4..7e61e2dbc 100644 --- a/src/core/rtkQuery/splitV3Api/seriesApi.ts +++ b/src/core/rtkQuery/splitV3Api/seriesApi.ts @@ -198,7 +198,7 @@ const seriesApi = splitV3Api.injectEndpoints({ query: ({ seriesId }) => ({ url: `Series/${seriesId}/Images`, }), - providesTags: ['SeriesImages'], + providesTags: ['SeriesAniDB'], }), changeSeriesImage: build.mutation< @@ -210,7 +210,7 @@ const seriesApi = splitV3Api.injectEndpoints({ method: 'PUT', body: { ID: image.ID, Source: image.Source }, }), - invalidatesTags: ['SeriesAniDB', 'SeriesImages'], + invalidatesTags: ['SeriesAniDB'], }), // Queue a refresh of all the TvDB data linked to a series using the seriesID.