mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-09 21:39:37 +00: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) => {
|
Book.addHook('afterDestroy', async (instance) => {
|
||||||
libraryItemsBookFilters.clearCountCache('afterDestroy ')
|
libraryItemsBookFilters.clearCountCache('afterDestroy')
|
||||||
})
|
})
|
||||||
|
|
||||||
Book.addHook('afterCreate', async (instance) => {
|
Book.addHook('afterCreate', async (instance) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue