mirror of
https://gitlab.silvrtree.co.uk/martind2000/mdot_server.git
synced 2025-02-25 02:53:35 +00:00
tracking added
This commit is contained in:
parent
fc077bd8e1
commit
197c1b88d2
@ -19,6 +19,7 @@ module.exports = function(app) {
|
|||||||
|
|
||||||
mdotRouter.post('/', function(req, res) {
|
mdotRouter.post('/', function(req, res) {
|
||||||
|
|
||||||
|
logger.debug('body',req.body);
|
||||||
var data = {};
|
var data = {};
|
||||||
if (!req.body.hasOwnProperty('locationid') || !req.body.hasOwnProperty('count') || !req.body.hasOwnProperty('total')) {
|
if (!req.body.hasOwnProperty('locationid') || !req.body.hasOwnProperty('count') || !req.body.hasOwnProperty('total')) {
|
||||||
logger.error('MDot','Missing required parameter');
|
logger.error('MDot','Missing required parameter');
|
||||||
|
Loading…
Reference in New Issue
Block a user