mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-10 01:16:55 +02: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) => {
|
Book.addHook('afterDestroy', async (instance) => {
|
||||||
libraryItemsBookFilters.clearCountCache('afterDestroy ')
|
libraryItemsBookFilters.clearCountCache('afterDestroy')
|
||||||
})
|
})
|
||||||
|
|
||||||
Book.addHook('afterCreate', async (instance) => {
|
Book.addHook('afterCreate', async (instance) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user