mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-07 03:02:44 +02:00
Revert "Invalidate count cache on entity update"
This reverts commit e8b60defb6.
This commit is contained in:
@@ -201,10 +201,6 @@ class Book extends Model {
|
||||
Book.addHook('afterCreate', async (instance) => {
|
||||
libraryItemsBookFilters.clearCountCache('afterCreate')
|
||||
})
|
||||
|
||||
Book.addHook('afterUpdate', async (instance) => {
|
||||
libraryItemsBookFilters.clearCountCache('afterUpdate')
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user