diff --git a/routes/cargaLibro.js b/routes/cargaLibro.js index 452e317..b51f347 100644 --- a/routes/cargaLibro.js +++ b/routes/cargaLibro.js @@ -50,7 +50,7 @@ async function readExecel ( path ) try{ await readXlsxFile(`${__dirname}/ArchivosCarga/cargaLibro.xlsx`).then(async (rows) => { //console.log(`Este es el renglon: ${rows}`); - for(let i=1; i <= rows.length ; i++) + for(let i=1; i < rows.length ; i++) { try{ let titulo = corregir(rows [i][0]);