This commit is contained in:
jane 2021-06-06 01:21:21 -04:00
parent be6cdceeea
commit 6d3613ddd9

View file

@ -115,6 +115,7 @@ function diff(current, checked) {
app.post("/updates/:project(\\w+)", (req, res) => {
let project_id = req.params['project'];
const body = req.body != undefined ? req.body : "";
console.log(req.body);
console.log(`${req.body}, ${typeof req.body}`);
console.log(`${body}`);
let adjustedBody = body.replace(/\r/, "");