mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-30 20:24:05 +01:00
Server socket event fixes
This commit is contained in:
1 parent
a9ee9031c3
commit
2cba83f1dd
6 files changed
+11
-11
No files matched your search
@@ -41,7 +41,7 @@ class SeriesController {
|
||||
const hasUpdated = req.series.update(req.body)
|
||||
if (hasUpdated) {
|
||||
await this.db.updateEntity('series', req.series)
|
||||
SocketAuthority.emitter('series_updated', req.series)
|
||||
SocketAuthority.emitter('series_updated', req.series.toJSON())
|
||||
}
|
||||
res.json(req.series)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user