fix getMediaProgress not returning properly

This commit is contained in:
jmt-gh 2022-07-03 10:15:40 -07:00
parent 2e466bb164
commit 855272a558

View File

@ -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)
}