From bff8c1d184665a57e58b8dfab68d9bc4d79e0005 Mon Sep 17 00:00:00 2001 From: Ben Hardill Date: Fri, 25 Dec 2020 14:20:10 +0000 Subject: [PATCH] OK, this time I'm sure --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 13ced07..90291af 100644 --- a/index.js +++ b/index.js @@ -73,7 +73,8 @@ app.use(morgan("combined")) app.use(bodyParser.json()) app.post('/update', (req, res, next) => { - const update = req.body + const updateRequest = req.body + consolelog(JSON.stringify(updateRequest,null, 2)) update() res.status(200).send();