update for id bug 61
This commit is contained in:
@ -169,12 +169,11 @@ app.post('/csv', (req, res, next) => {
|
||||
});
|
||||
readable.on("close", () => {
|
||||
if(_res === ""){
|
||||
//console.log("--- csvs ---", less_csv);
|
||||
fs.appendFile(path, csv, function (err) {
|
||||
if (err) throw err;
|
||||
console.log('The "data to append" was appended to file!');
|
||||
});
|
||||
// writetoFile(csv);
|
||||
if (err) throw err;
|
||||
console.log('The "data to append" was appended to file!');
|
||||
});
|
||||
// writetoFile(csv);
|
||||
_res = _jsessionid;
|
||||
res.send({'id': _res});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user