Fix: "SQLITE_ERROR: 6 values for 8 columns" when retrieving nodes.json
This commit is contained in:
parent
afa404518d
commit
dd48bd9702
|
@ -38,7 +38,7 @@ angular.module('ffffng')
|
||||||
return Database.run(
|
return Database.run(
|
||||||
'INSERT INTO node_state ' +
|
'INSERT INTO node_state ' +
|
||||||
'(hostname, mac, monitoring_state, state, last_seen, import_timestamp, last_status_mail_sent, last_status_mail_type) ' +
|
'(hostname, mac, monitoring_state, state, last_seen, import_timestamp, last_status_mail_sent, last_status_mail_type) ' +
|
||||||
'VALUES (?, ?, ?, ?, ?, ?)',
|
'VALUES (?, ?, ?, ?, ?, ?, ?, ?)',
|
||||||
[
|
[
|
||||||
node.hostname,
|
node.hostname,
|
||||||
node.mac,
|
node.mac,
|
||||||
|
|
Loading…
Reference in a new issue