casi terminada

This commit is contained in:
2022-05-16 23:09:46 -05:00
parent 634f8f774f
commit 41cdbe07e5
28 changed files with 6 additions and 99 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
const Premiacion = require('../../db/tablas/Premiacion');
const get = () => Premiacion.findAll({where: {activa: true}});
const get = () => Premiacion.findAll();
module.exports = get;
@@ -5,6 +5,7 @@ const { validarNumeroEntero } = require('../../helper/validar');
const ProfesorPremiacion = require('../../db/tablas/profesorPremiacion');
const cargaMasiva = async (file, body) => {
console.log(body)
const idPremiacion = validarNumeroEntero(body.idPremiacion);
const path = `server/uploads/${file}`;
let res = [];