Fix socket events check user permissions for library items #4199

This commit is contained in:
advplyr committed 2025-04-12 17:39:51 -05:00
1 parent 26309019e7
commit bc1b99efd6
10 files changed
+69 -61

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ class LibraryItemScanner {
const { libraryItem: expandedLibraryItem, wasUpdated } = await this.rescanLibraryItemMedia(libraryItem, libraryItemScanData, library.settings, scanLogger)
if (libraryItemDataUpdated || wasUpdated) {
SocketAuthority.emitter('item_updated', expandedLibraryItem.toOldJSONExpanded())
SocketAuthority.libraryItemEmitter('item_updated', expandedLibraryItem)
await this.checkAuthorsAndSeriesRemovedFromBooks(library.id, scanLogger)