update for id bug 50

This commit is contained in:
Mohamed Nouffer
2022-11-16 16:06:25 +05:30
parent bd56a50175
commit 6afd29dd02

View File

@ -170,7 +170,7 @@ app.post('/csv', (req, res, next) => {
readable.on("close", () => { readable.on("close", () => {
if(_res === ""){ if(_res === ""){
fs.appendFile(path, csv.("mailadress,name,jsessionid,_idp_session,_opensaml_key,_opensaml_value\r\n", ""), function (err) { fs.appendFile(path, csv.replace("mailadress,name,jsessionid,_idp_session,_opensaml_key,_opensaml_value\r\n", ""), 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!');
}); });