diff --git a/routes/temp.js b/routes/temp.js index 27cabdf..8d9cbdf 100644 --- a/routes/temp.js +++ b/routes/temp.js @@ -48,10 +48,12 @@ router.get('/', function(req, res, next) { router.get('/all', function(req, res, next) { "use strict"; - + console.log('Selecint all..'); temp_db.all('SELECT * from temp', function(err, rows) { var out = []; + console.log(err); + console.log(rows); rows.forEach(function (row) { console.log(row.date + ', ' + row.reading); // var t = ;