turning off stupid logging

This commit is contained in:
Martin Donnelly 2016-02-18 11:14:06 +00:00
parent 592bdf4a21
commit 32445d146e

View File

@ -66,8 +66,7 @@ module.exports = {
},
getTrainTimes: function(req, res) {
// console.log(req);
console.log('---------');
console.log(req.query);
console.log('getTrainTimes: ' + JSON.stringify(req.query));
if (req.query.hasOwnProperty('from') && req.query.hasOwnProperty('from'))
{
@ -85,9 +84,7 @@ module.exports = {
},
getNextTrainTimes: function(req, res) {
console.log(req);
console.log('---------');
console.log(req.query);
console.log('getNextTrainTimes: ' + JSON.stringify(req.query));
var trainFrom, trainTo, trainToken, url;
if (req.query.hasOwnProperty('from') && req.query.hasOwnProperty('from')) {
trainFrom = req.query.from;
@ -133,9 +130,7 @@ module.exports = {
}
}, getRoute: function(req, res) {
console.log(req);
console.log('---------');
console.log(req.query);
console.log('getRoute: ' + JSON.stringify(req.query));
var routeID, data={};
if (req.query.hasOwnProperty('route')) {