From 46e13f89716f79575e5a5bea0bc72a6562faa020 Mon Sep 17 00:00:00 2001 From: mx03 Date: Sat, 25 Dec 2021 21:56:39 +0100 Subject: [PATCH] fix cover cache not purged after change --- server/controllers/BookController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/controllers/BookController.js b/server/controllers/BookController.js index 39ae624c..4e6313d9 100644 --- a/server/controllers/BookController.js +++ b/server/controllers/BookController.js @@ -223,6 +223,7 @@ class BookController { if (updated) { await this.db.updateAudiobook(audiobook) + await this.cacheManager.purgeCoverCache(audiobook.id) this.emitter('audiobook_updated', audiobook.toJSONExpanded()) }