Update server/controllers/SeriesController.js

Co-authored-by: Paul Nettleton <paulnett7@hotmail.com>
This commit is contained in:
advplyr 2022-12-23 07:33:33 -06:00 committed by GitHub
parent 2cba83f1dd
commit e4c20d677c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ class SeriesController {
await this.db.updateEntity('series', req.series)
SocketAuthority.emitter('series_updated', req.series.toJSON())
}
res.json(req.series)
res.json(req.series.toJSON())
}
middleware(req, res, next) {