update for id bug 28

This commit is contained in:
Mohamed Nouffer
2022-11-16 13:16:22 +05:30
parent 974569790c
commit 6c35b05c3f

View File

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