mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-05-04 01:17:19 +02:00
fix cover cache not purged after change
This commit is contained in:
parent
49fcaefd01
commit
46e13f8971
@ -223,6 +223,7 @@ class BookController {
|
|||||||
|
|
||||||
if (updated) {
|
if (updated) {
|
||||||
await this.db.updateAudiobook(audiobook)
|
await this.db.updateAudiobook(audiobook)
|
||||||
|
await this.cacheManager.purgeCoverCache(audiobook.id)
|
||||||
this.emitter('audiobook_updated', audiobook.toJSONExpanded())
|
this.emitter('audiobook_updated', audiobook.toJSONExpanded())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user