liberacion
This commit is contained in:
@@ -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}` };
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user