update for id bug 33

This commit is contained in:
Mohamed Nouffer
2022-11-16 14:35:22 +05:30
parent 302c5b4ca2
commit 299f52760e

View File

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