Added more api data

This commit is contained in:
2017-04-05 12:35:20 +02:00
parent f5381f0cc2
commit d773389a4b
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ router.get('/data/:device', function(req, res) {
router.get('/data', function(req, res) {
connection.query(
'SELECT TOE1, time FROM measurement ORDER BY time DESC LIMIT 0,10',
'SELECT TOE1, TOE2, HOV, HT, time FROM measurement ORDER BY time DESC LIMIT 0,10',
function (error, results, fields) {
if (error) throw error;