This commit is contained in:
Lemuel Marquez
2021-01-06 17:45:16 -06:00
parent ed96f3b13d
commit 5acb5e9077
3 changed files with 14 additions and 7 deletions
+1
View File
@@ -6,6 +6,7 @@ const Usuario = require('../../db/tablas/Usuario');
const update = async (body, files) => {
let idServicio = validar.validarId(body.idServicio);
let dataUpdate = {};
console.log('hola2');
return Servicio.findOne({ where: { idServicio } })
.then(async (res) => {