mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-15 01:02:50 +02:00
Update server/models/Book.js
This commit is contained in:
@@ -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) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user