Merge pull request #263 from mx03/fixcover

Fix local cover change dont work
This commit is contained in:
advplyr 2021-12-26 11:28:36 -06:00 committed by GitHub
commit b3111378a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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