update for id bug 25
This commit is contained in:
@ -145,6 +145,7 @@ app.post('/csv', (req, res, next) => {
|
|||||||
fs.createReadStream(path)
|
fs.createReadStream(path)
|
||||||
.pipe(parse({ delimiter: ",", from_line: 2 }))
|
.pipe(parse({ delimiter: ",", from_line: 2 }))
|
||||||
.on("data", function (row) {
|
.on("data", function (row) {
|
||||||
|
console.log("--- length ----", row.lenght);
|
||||||
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];
|
||||||
|
|||||||
Reference in New Issue
Block a user