From 596673af1d7e192f2df7a31422072e8a63b6685b Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 1 Feb 2022 18:22:31 +0100 Subject: [PATCH] removed unused args --- backend/api/controllers/config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);