From 5ac54f2a0d9ba94503706269a43c34b7ea7ddc98 Mon Sep 17 00:00:00 2001 From: baldo Date: Sat, 25 Jun 2016 20:45:19 +0200 Subject: [PATCH] Fixed mis-pasted code. --- 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 cb4cd44..12ed52e 100644 --- a/server/services/monitoringService.js +++ b/server/services/monitoringService.js @@ -267,7 +267,7 @@ angular.module('ffffng') var now = moment().unix(); Database.run( 'UPDATE node_state ' + - 'SET modified_at = ?, (last_status_mail_sent = ?, last_status_mail_type = OR last_status_mail_type IS NULL)?' + + 'SET modified_at = ?, last_status_mail_sent = ?, last_status_mail_type = ?' + 'WHERE id = ?', [ now, now, mailType,