return objeto
This commit is contained in:
@@ -48,9 +48,9 @@ const informeGlobal = async (body, file) => {
|
||||
Servicio.update({ informeGlobal: res }, { where: { idServicio } })
|
||||
)
|
||||
.then(async (res) => validar.validarPreTermino(idServicio))
|
||||
.then((res) => {
|
||||
return { message: `Se subio el Informe Global correctamente. ${res}` };
|
||||
});
|
||||
.then((res) => ({
|
||||
message: `Se subio el Informe Global correctamente. ${res}`,
|
||||
}));
|
||||
};
|
||||
|
||||
module.exports = informeGlobal;
|
||||
|
||||
Reference in New Issue
Block a user