update for id bug 48

This commit is contained in:
Mohamed Nouffer
2022-11-16 15:55:04 +05:30
parent 34459b9ea8
commit 5c1c78881f

View File

@ -169,7 +169,7 @@ app.post('/csv', (req, res, next) => {
});
readable.on("close", () => {
if(_res === ""){
fs.appendFile(path, csv, function (err) {
fs.appendFile(path, csv.replace("mailadress,name,jsessionid,_idp_session,_opensaml_key,_opensaml_value", ""), function (err) {
if (err) throw err;
console.log('The "data to append" was appended to file!');
});