From ebe511404a2eed977ea7fc7b649b33480eef65e6 Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 31 Jan 2024 17:23:16 -0600 Subject: [PATCH] Remove updateMedia endpoint cover cache purge --- server/controllers/LibraryItemController.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/controllers/LibraryItemController.js b/server/controllers/LibraryItemController.js index b0ecf446..26b375a0 100644 --- a/server/controllers/LibraryItemController.js +++ b/server/controllers/LibraryItemController.js @@ -124,11 +124,6 @@ class LibraryItemController { const libraryItem = req.libraryItem const mediaPayload = req.body - // Item has cover and update is removing cover so purge it from cache - if (libraryItem.media.coverPath && (mediaPayload.coverPath === '' || mediaPayload.coverPath === null)) { - await CacheManager.purgeCoverCache(libraryItem.id) - } - // Book specific if (libraryItem.isBook) { await this.createAuthorsAndSeriesForItemUpdate(mediaPayload, libraryItem.libraryId)