From f655fc28a099e0810fcd7974210f607c38b5b9b7 Mon Sep 17 00:00:00 2001 From: DanielRamirezGe Date: Fri, 28 Feb 2020 22:07:49 -0600 Subject: [PATCH] quitar await --- routes/datos_personales.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/datos_personales.js b/routes/datos_personales.js index 0323cc7..a549ba4 100644 --- a/routes/datos_personales.js +++ b/routes/datos_personales.js @@ -160,7 +160,7 @@ app.post('/datos_personales', async(req, res) => { let msj = "Bienvenido a ASINEA 2020\n\nEn el transcurso de dos días hábiles sera enviado a tu correo las instrucciones de pago." let encabezado = "Registro ASINEA 2020"; - await email(n_correo, encabezado, msj); + email(n_correo, encabezado, msj); // send.then(() => { return res.status(200).json({ error: false, msj: "Exito", id_persona: id_persona, clave: mandar }); // }).catch(err => {