diff --git a/functions/handlers/users.js b/functions/handlers/users.js index 283b97b..5350d19 100644 --- a/functions/handlers/users.js +++ b/functions/handlers/users.js @@ -449,7 +449,7 @@ exports.addSubscription = (req, res) => { .catch(err => { return res.status(500).json({ err }); }); - return res.status(500).json({ error: "shouldn't execute" }); + return res.status(200).json({ message: "ok" }); }); }; @@ -489,6 +489,6 @@ exports.removeSub = (req, res) => { .catch(err => { return res.status(500).json({ err }); }); - return res.status(500).json({ error: "shouldn't execute" }); + return res.status(200).json({ message: "ok" }); }); };