From a5c89496b135c5e1b50a16fb381224f9b18299cc Mon Sep 17 00:00:00 2001 From: Jane Petrovna Date: Sun, 6 Jun 2021 01:17:24 -0400 Subject: [PATCH] cheesesteak --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 0a3a005..fffd857 100644 --- a/index.js +++ b/index.js @@ -115,6 +115,8 @@ function diff(current, checked) { app.post("/updates/:project(\\w+)", (req, res) => { let project_id = req.params['project']; const body = (typeof req.body == "string") ? req.body : ""; + console.log(`${req.body}, ${typeof req.body}`); + console.log(`${body}`); let adjustedBody = body.replace(/\r/, ""); let indexes = get_indexes(project_id); let difference = diff(indexes, adjustedBody);