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