cambio por el pago
This commit is contained in:
@@ -37,7 +37,10 @@ app.get('/traer_datos', async(req, res) => {
|
||||
cad = `select * from evento where tipo_evento='Dialogo magistral';`;
|
||||
let d_m = await query(cad);
|
||||
|
||||
res.status(200).json({ error: false, msj: "exito", universidad: uni, conversatorio: con, taller_alumno: t_a, taller_profesor: t_p, visita: v_g, dialogo: d_m });
|
||||
cad = `select * from evento where tipo_evento='Bienvenida';`;
|
||||
let bien = await query(cad);
|
||||
|
||||
res.status(200).json({ error: false, msj: "exito", bienvenida: bien, universidad: uni, conversatorio: con, taller_alumno: t_a, taller_profesor: t_p, visita: v_g, dialogo: d_m });
|
||||
return;
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
|
||||
Reference in New Issue
Block a user