casi terminada
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user