mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-05 02:34:56 +02:00
Update server/models/Book.js
This commit is contained in:
parent
3d08a35aa0
commit
9a261195b7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue