diff --git a/users/userservice/user-service.js b/users/userservice/user-service.js index eae3ca76..6823d844 100644 --- a/users/userservice/user-service.js +++ b/users/userservice/user-service.js @@ -272,7 +272,7 @@ app.post("/saveGameList", async (req, res) => { } const gameDataWithGamemode = { ...gameData, gamemode, questions }; - if(gamemode!=="classic" && gamemode!=="bateria" && gamemode!=="calculadora"){ + if(gamemode!=="clasico" && gamemode!=="bateria" && gamemode!=="calculadora"){ return res.status(422).json({ error: "Invalid gamemode" }); } diff --git a/webapp/src/pages/Config/Config.js b/webapp/src/pages/Config/Config.js index a272c274..c1437f24 100644 --- a/webapp/src/pages/Config/Config.js +++ b/webapp/src/pages/Config/Config.js @@ -19,7 +19,7 @@ import { useNavigate } from "react-router-dom"; import { useTranslation } from "react-i18next"; const Config = () => { - const { t, i18n} = useTranslation(); + const { t, i18n } = useTranslation(); useEffect(() => { // Obtener el estado de los checkboxes desde el localStorage @@ -86,60 +86,62 @@ const Config = () => { <>