Update server/models/Book.js

This commit is contained in:
advplyr 2025-02-08 10:19:13 -06:00 committed by GitHub
parent 3d08a35aa0
commit 9a261195b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -195,7 +195,7 @@ class Book extends Model {
)
Book.addHook('afterDestroy', async (instance) => {
libraryItemsBookFilters.clearCountCache('afterDestroy ')
libraryItemsBookFilters.clearCountCache('afterDestroy')
})
Book.addHook('afterCreate', async (instance) => {