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
+5 -5
View File
@@ -47,11 +47,11 @@ const cartaTermino = async (body, file) => {
.then((res) => {
return Servicio.update({ cartaTermino: res }, { where: { idServicio } });
})
.then(async (res) => {
let message = `Se subio el informe global correctamente.`;
message += await validar.validarPreTermino(idServicio);
return { message };
.then((res) => {
return validar.validarPreTermino(idServicio);
})
.then((res) => {
return { message: `Se subio el informe global correctamente. ${res}` };
});
};