liberacion

This commit is contained in:
2020-11-23 12:43:33 -06:00
parent 9ab36e414b
commit 08610054db
8 changed files with 115 additions and 39 deletions
+4 -4
View File
@@ -48,10 +48,10 @@ const informeGlobal = async (body, file) => {
return Servicio.update({ informeGlobal: res }, { where: { idServicio } });
})
.then(async (res) => {
let message = `Se subio el informe global correctamente.`;
message += await validar.validarPreTermino(idServicio);
return { message };
return validar.validarPreTermino(idServicio);
})
.then((res) => {
return { message: `Se subio el informe global correctamente. ${res}` };
});
};