mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-30 07:45:25 +02:00
Merge pull request #4530 from advplyr/fix_ereader_socket_event
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Run Component Tests / Run Component Tests (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Run Component Tests / Run Component Tests (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
Fix ereader update socket event sending all devices #4529
This commit is contained in:
commit
a5fb0d9cdb
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ class MeController {
|
|||
if (updated) {
|
||||
await Database.updateSetting(Database.emailSettings)
|
||||
SocketAuthority.clientEmitter(req.user.id, 'ereader-devices-updated', {
|
||||
ereaderDevices: Database.emailSettings.ereaderDevices
|
||||
ereaderDevices: Database.emailSettings.getEReaderDevices(req.user)
|
||||
})
|
||||
}
|
||||
res.json({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue