From dd48bd97024eba4e75c8056f7bd744ba688d9af2 Mon Sep 17 00:00:00 2001 From: baldo Date: Sun, 26 Jun 2016 19:38:11 +0200 Subject: [PATCH] Fix: "SQLITE_ERROR: 6 values for 8 columns" when retrieving nodes.json --- server/services/monitoringService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/services/monitoringService.js b/server/services/monitoringService.js index d402d45..514939e 100644 --- a/server/services/monitoringService.js +++ b/server/services/monitoringService.js @@ -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,