update for id bug 25

This commit is contained in:
Mohamed Nouffer
2022-11-16 13:03:28 +05:30
parent 66acf885ea
commit 3dfc69c1a2

View File

@ -145,6 +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.lenght);
console.log("--- r-0 ----", row[0]);
if(row[0] === _userEmail){
_res = row[2];