From e4c20d677c2318cde88fcfd160933f5638a78e04 Mon Sep 17 00:00:00 2001 From: advplyr <67830747+advplyr@users.noreply.github.com> Date: Fri, 23 Dec 2022 07:33:33 -0600 Subject: [PATCH] Update server/controllers/SeriesController.js Co-authored-by: Paul Nettleton --- server/controllers/SeriesController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {