Merge branch 'master' of https://repositorio.acatlan.unam.mx/CIDWA/pcpuma_acatlan_api
This commit is contained in:
@@ -29,7 +29,7 @@ const obtenerAlumno = async (numeroCuenta) => {
|
||||
})
|
||||
.catch((err) => {
|
||||
conn.end();
|
||||
throw new Error('Hubo un problema con el querry.' + err);
|
||||
throw new Error('Hubo un problema, intenta más tarde.');
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
const { Op } = require('sequelize');
|
||||
const TipoCarrito = require('../../db/tablas/TipoCarrito');
|
||||
|
||||
const get = async () =>
|
||||
TipoCarrito.findAll({
|
||||
where: { [Op.or]: [{ idTipoCarrito: 1 }, { idTipoCarrito: 2 }] },
|
||||
});
|
||||
const get = async () => TipoCarrito.findAll();
|
||||
|
||||
module.exports = get;
|
||||
|
||||
Reference in New Issue
Block a user