enviar datos correctos al responsable

This commit is contained in:
Lemuel Marquez
2020-11-27 12:36:53 -06:00
parent 7419b81868
commit bde94edb60
10 changed files with 32 additions and 17 deletions
+1
View File
@@ -4,6 +4,7 @@ const Usuario = require('../../db/tablas/Usuario');
const cancelar = async (body) => {
let idServicio = validar.validarId(body.idServicio);
let mensaje = validar.validarAlfanumerico(body.mensaje, 'El mensaje', 800);
return Servicio.findOne({ where: { idServicio } })
.then((res) => {