return objeto
This commit is contained in:
@@ -76,11 +76,9 @@ const nuevo = async (body, file) => {
|
||||
programaInterno,
|
||||
})
|
||||
)
|
||||
.then((res) => {
|
||||
return {
|
||||
message: `Se Pre-Registro correctamente al alumno.`,
|
||||
};
|
||||
});
|
||||
.then((res) => ({
|
||||
message: `Se Pre-Registro correctamente al alumno.`,
|
||||
}));
|
||||
};
|
||||
|
||||
module.exports = nuevo;
|
||||
|
||||
Reference in New Issue
Block a user