From 2574b2bf86f5436d6164e5f94c7d767886f0bb1b Mon Sep 17 00:00:00 2001 From: Emilio Date: Wed, 17 Sep 2025 11:57:47 -0600 Subject: [PATCH] =?UTF-8?q?Se=20agreg=C3=B3=20endpoint=20para=20crear=20us?= =?UTF-8?q?uarios=20admin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/controller/Usuario/newUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/controller/Usuario/newUser.js b/server/controller/Usuario/newUser.js index 71ae26b..206d0fc 100644 --- a/server/controller/Usuario/newUser.js +++ b/server/controller/Usuario/newUser.js @@ -12,7 +12,7 @@ const newAdmin = async (body) => { password: encriptar.encriptar(password), nombre: body.nombre, activo: true, - idTipoUsuario: 1, + idTipoUsuario: body.idTipoUsuario, }) return password; };