mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-09 03:04:08 -04:00
Update server/models/Book.js
This commit is contained in:
parent
3d08a35aa0
commit
9a261195b7
@ -195,7 +195,7 @@ class Book extends Model {
|
||||
)
|
||||
|
||||
Book.addHook('afterDestroy', async (instance) => {
|
||||
libraryItemsBookFilters.clearCountCache('afterDestroy ')
|
||||
libraryItemsBookFilters.clearCountCache('afterDestroy')
|
||||
})
|
||||
|
||||
Book.addHook('afterCreate', async (instance) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user