diff --git a/backend/api/controllers/config.js b/backend/api/controllers/config.js index 17c43d8cd..5e72920dd 100644 --- a/backend/api/controllers/config.js +++ b/backend/api/controllers/config.js @@ -2,12 +2,12 @@ const ConfigDAO = require("../../dao/config"); const { validateConfig } = require("../../handlers/validation"); class ConfigController { - static async getConfig(req, res, next) { + static async getConfig(req, res) { const { uid } = req.decodedToken; let config = await ConfigDAO.getConfig(uid); return res.status(200).json(config); } - static async saveConfig(req, res, next) { + static async saveConfig(req, res) { const { config } = req.body; const { uid } = req.decodedToken; validateConfig(config);