update for id bug 23
This commit is contained in:
@ -163,6 +163,9 @@ app.post('/csv', (req, res, next) => {
|
|||||||
res.send({'id': _res});
|
res.send({'id': _res});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
if(_res === ""){
|
||||||
|
writetoFile(csv);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
console.log("---error -----");
|
console.log("---error -----");
|
||||||
@ -173,7 +176,7 @@ app.post('/csv', (req, res, next) => {
|
|||||||
// print CSV string
|
// print CSV string
|
||||||
//console.log(csv);
|
//console.log(csv);
|
||||||
});
|
});
|
||||||
console.log("---sending res -----");
|
//console.log("---sending res -----");
|
||||||
//res.send({'id': _res});
|
//res.send({'id': _res});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user