mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-23 08:54:11 +01:00
Fix socket events check user permissions for library items #4199
This commit is contained in:
1 parent
26309019e7
commit
bc1b99efd6
10 files changed
+69
-61
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user