diff --git a/server/services/monitoringService.js b/server/services/monitoringService.js index b13aa65..120e94b 100644 --- a/server/services/monitoringService.js +++ b/server/services/monitoringService.js @@ -49,7 +49,7 @@ angular.module('ffffng') [ node.hostname, node.mac, - node.site, + nodeData.site, node.monitoringState, nodeData.state, nodeData.lastSeen.unix(), @@ -92,7 +92,7 @@ angular.module('ffffng') 'WHERE id = ? AND mac = ?', [ node.hostname, - node.site, + nodeData.site, node.monitoringState, nodeData.state, nodeData.lastSeen.unix(),