From 90a1fe1b888404b1f4377fbe8d042da08af31b2f Mon Sep 17 00:00:00 2001 From: Andrew Parker Date: Sun, 17 Mar 2024 14:09:24 -0400 Subject: [PATCH] helping for the tests --- .../backend/platform/src/controllers/module.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/gen-parker/backend/platform/src/controllers/module.controller.js b/apps/gen-parker/backend/platform/src/controllers/module.controller.js index 4f52e2e..9e715e1 100644 --- a/apps/gen-parker/backend/platform/src/controllers/module.controller.js +++ b/apps/gen-parker/backend/platform/src/controllers/module.controller.js @@ -11,6 +11,7 @@ const kafkaClient = process.env.SERVER kafkaClient.connectProducer(undefined); const addSensorData = async (req) => { + console.log(req.body) const data = Object.keys(req.body).map((x) => { const senseur = x.replace(/^\D+/g, ''); const position = x.replace(senseur, '');