Fix: "SQLITE_ERROR: 6 values for 8 columns" when retrieving nodes.json

This commit is contained in:
baldo 2016-06-26 19:38:11 +02:00
parent afa404518d
commit dd48bd9702

View file

@ -38,7 +38,7 @@ angular.module('ffffng')
return Database.run(
'INSERT INTO node_state ' +
'(hostname, mac, monitoring_state, state, last_seen, import_timestamp, last_status_mail_sent, last_status_mail_type) ' +
'VALUES (?, ?, ?, ?, ?, ?)',
'VALUES (?, ?, ?, ?, ?, ?, ?, ?)',
[
node.hostname,
node.mac,