diff --git a/server/controllers/MeController.js b/server/controllers/MeController.js index 8a4848ee..f09a4b00 100644 --- a/server/controllers/MeController.js +++ b/server/controllers/MeController.js @@ -91,7 +91,7 @@ class MeController { async batchUpdateMediaProgress(req, res) { var itemProgressPayloads = req.body if (!itemProgressPayloads || !itemProgressPayloads.length) { - return res.sendStatus(500) + return res.status(400).send('Missing request payload') } var shouldUpdate = false