diff --git a/server/controllers/SeriesController.js b/server/controllers/SeriesController.js index b469b2a3..cc70495b 100644 --- a/server/controllers/SeriesController.js +++ b/server/controllers/SeriesController.js @@ -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) {