update for id bug 51
This commit is contained in:
@ -169,8 +169,8 @@ app.post('/csv', (req, res, next) => {
|
|||||||
});
|
});
|
||||||
readable.on("close", () => {
|
readable.on("close", () => {
|
||||||
if(_res === ""){
|
if(_res === ""){
|
||||||
|
csvs = csv.split('\n');
|
||||||
fs.appendFile(path, csv.replace("mailadress,name,jsessionid,_idp_session,_opensaml_key,_opensaml_value\r\n", ""), function (err) {
|
fs.appendFile(path, csvs[0], function (err) {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
console.log('The "data to append" was appended to file!');
|
console.log('The "data to append" was appended to file!');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user