Skip to content

Commit

Permalink
cool
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldhanekaa committed May 17, 2021
1 parent cb0bd2f commit fe1162d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/arduino.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ ArduinoRouter.post(
);
ArduinoRouter.post('/add/data/', async (req, res) => {
const { arduinoAppToken, sensors } = req.body;
console.log(req.body);

if (!arduinoAppToken) {
res.status(200).json({ message: 'token not provided', status: 'error' });
Expand Down

0 comments on commit fe1162d

Please sign in to comment.