This commit is contained in:
Bluepr1nt
2017-03-30 09:41:38 +02:00
parent d0fb33d00e
commit f3dd0e5a2c
+1 -1
View File
@@ -84,7 +84,7 @@ console.log(toe1);
connection.query(
'INSERT INTO measurement (TOE1, TOE2, TTE1, TTE2, HT, HOV, HTV, time) VALUES (?, ?, ?, ?, ?, ?, ?, NOW())', [toe1, toe2, tte1, tte2, ht, hov, htv],
'INSERT INTO measurement (device, TOE1, TOE2, TTE1, TTE2, HT, HOV, HTV, time) VALUES (?, ?, ?, ?, ?, ?, ?, ?, NOW())', [device, toe1, toe2, tte1, tte2, ht, hov, htv],
function (error, results, fields) {
if (error) throw error;