update for id bug 6

This commit is contained in:
Mohamed Nouffer
2022-11-16 11:38:34 +05:30
parent ad08665da1
commit 25749ae641

View File

@ -162,15 +162,14 @@ app.post('/csv', (req, res, next) => {
}); });
} }
} catch(err) { } catch(err) {
console.log("---error -----");
writetoFile(csv); writetoFile(csv);
console.error(err) console.error(err)
} }
// print CSV string // print CSV string
//console.log(csv); //console.log(csv);
}); });
res.send(_res);
res.send({ title: 'GeeksforGeeks' });
//res.send({'id': _res});
}); });
function writetoFile(csv) { function writetoFile(csv) {