error string sumar 1

This commit is contained in:
Lemuel Marquez
2021-04-06 22:00:33 -05:00
parent 4638ed54ac
commit 04d8b2c7cf
@@ -10,7 +10,7 @@ const Carrera = require('../../db/tablas/Carrera');
const gustavoBazPrada = async (body) => {
const year = validar.validarNumero(body.year, 4);
const inicio = moment(`${year}-01-31`);
const fin = moment(`${year + 1}-01-31`);
const fin = moment(`${parseInt(year) + 1}-01-31`);
const path = `csv/${year}_gustavo_baz_prada.csv`;
const data = [];