mejora código

This commit is contained in:
xXpuma99Xx
2022-02-01 06:44:34 -06:00
parent b3851fd6a1
commit 4437ade10c
10 changed files with 90 additions and 75 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
const Infraccion = require('../../db/tablas/Infraccion');
const { Op } = require('sequelize');
const Infraccion = require('../../db/tablas/Infraccion');
const get = async () =>
Infraccion.findAll({ where: { idInfraccion: { [Op.ne]: 1 } } });