mirror of
https://gitlab.silvrtree.co.uk/martind2000/old-silvrgit.git
synced 2025-01-10 21:05:09 +00:00
turning off stupid logging
This commit is contained in:
parent
592bdf4a21
commit
32445d146e
11
lib/train.js
11
lib/train.js
@ -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')) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user