Solo falta definir el mensaje y los 15 min extras

This commit is contained in:
Andres2908
2021-09-23 19:33:27 -05:00
parent 33f628a810
commit bbbdeedb40
4 changed files with 16 additions and 3 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
const Infraccion = require('../../db/tablas/Infraccion');
const { Op } = require('sequelize');
const get = async () => Infraccion.findAll();
const get = async () =>
Infraccion.findAll({ where: { idInfraccion: { [Op.ne]: 1 } } });
module.exports = get;