diff --git a/server.js b/server.js index 49e9d8a..1780109 100644 --- a/server.js +++ b/server.js @@ -147,7 +147,7 @@ app.post('/csv', (req, res, next) => { .pipe(parse({ delimiter: ",", from_line: 1 })) .on("data", function (row) { _cnt += 1; - if(cnt == 1){return;} + if(_cnt == 1){return;} console.log("--- r-0 ----", row[0]); if(row[0] === _userEmail){ _res = row[2];