return objeto
This commit is contained in:
@@ -74,12 +74,9 @@ const registroValidado = async (body) => {
|
||||
{ where: { idServicio } }
|
||||
)
|
||||
)
|
||||
.then((res) => {
|
||||
return {
|
||||
message:
|
||||
'Haz terminado el registro de tu Servicio Social correctamente.',
|
||||
};
|
||||
});
|
||||
.then((res) => ({
|
||||
message: 'Haz terminado el registro de tu Servicio Social correctamente.',
|
||||
}));
|
||||
};
|
||||
|
||||
module.exports = registroValidado;
|
||||
|
||||
Reference in New Issue
Block a user