return objeto
This commit is contained in:
@@ -62,9 +62,9 @@ const cancelar = async (body) => {
|
||||
{ where: { idServicio } }
|
||||
)
|
||||
)
|
||||
.then((res) => {
|
||||
return { message: 'Se rechazo correctamente la Carta de Termino.' };
|
||||
});
|
||||
.then((res) => ({
|
||||
message: 'Se rechazo correctamente la Carta de Termino.',
|
||||
}));
|
||||
};
|
||||
|
||||
module.exports = cancelar;
|
||||
|
||||
Reference in New Issue
Block a user