mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-18 20:08:41 +01:00
Merge pull request #263 from mx03/fixcover
Fix local cover change dont work
This commit is contained in:
commit
b3111378a0
@ -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