asdsa
This commit is contained in:
parent
f32c5a3f41
commit
b145d6e538
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -103,7 +103,7 @@ function diff(current, checked) {
|
|||
|
||||
app.post("/updates/:project(\\w+)", (req, res) => {
|
||||
let project_id = req.params['project'];
|
||||
const body = req.body || "";
|
||||
const body = String(req.body) || "";
|
||||
let adjustedBody = body.replace(/\r/, "");
|
||||
let indexes = get_indexes(project_id);
|
||||
let difference = diff(indexes, adjustedBody);
|
||||
|
|
Loading…
Reference in a new issue