fix cover cache not purged after change

This commit is contained in:
mx03 2021-12-25 21:56:39 +01:00
parent 49fcaefd01
commit 46e13f8971

View File

@ -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())
}