update for id bug 27
This commit is contained in:
@ -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 ----", typeof row);
|
||||
console.log("--- length ----", row);
|
||||
console.log("--- r-0 ----", row[0]);
|
||||
if(row[0] === _userEmail){
|
||||
_res = row[2];
|
||||
|
||||
Reference in New Issue
Block a user