s
This commit is contained in:
parent
be6cdceeea
commit
6d3613ddd9
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -115,6 +115,7 @@ function diff(current, checked) {
|
||||||
app.post("/updates/:project(\\w+)", (req, res) => {
|
app.post("/updates/:project(\\w+)", (req, res) => {
|
||||||
let project_id = req.params['project'];
|
let project_id = req.params['project'];
|
||||||
const body = req.body != undefined ? req.body : "";
|
const body = req.body != undefined ? req.body : "";
|
||||||
|
console.log(req.body);
|
||||||
console.log(`${req.body}, ${typeof req.body}`);
|
console.log(`${req.body}, ${typeof req.body}`);
|
||||||
console.log(`${body}`);
|
console.log(`${body}`);
|
||||||
let adjustedBody = body.replace(/\r/, "");
|
let adjustedBody = body.replace(/\r/, "");
|
||||||
|
|
Loading…
Reference in a new issue