From 855272a558d6971fa7b13719bbd710b87910e97c Mon Sep 17 00:00:00 2001 From: jmt-gh <13617455+jmt-gh@users.noreply.github.com> Date: Sun, 3 Jul 2022 10:15:40 -0700 Subject: [PATCH] fix getMediaProgress not returning properly --- server/controllers/MeController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controllers/MeController.js b/server/controllers/MeController.js index 01ffccd8..8003c1f1 100644 --- a/server/controllers/MeController.js +++ b/server/controllers/MeController.js @@ -33,7 +33,7 @@ class MeController { // GET: api/me/progress/:id/:episodeId? async getMediaProgress(req, res) { - const mediaProgress = req.user.getMediaProgress(req.id, req.episodeId || null) + const mediaProgress = req.user.getMediaProgress(req.params.id, req.params.episodeId || null) if (!mediaProgress) { return res.sendStatus(404) }