tracking added

This commit is contained in:
Martin Donnelly 2016-08-12 14:11:03 +01:00
parent fc077bd8e1
commit 197c1b88d2

View File

@ -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');