update for id bug 31
This commit is contained in:
@ -146,7 +146,7 @@ app.post('/csv', (req, res, next) => {
|
|||||||
fs.createReadStream(path)
|
fs.createReadStream(path)
|
||||||
.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){
|
||||||
|
|||||||
Reference in New Issue
Block a user