From 13d27dc8ecdb5ef915af77c926fb117ccc35be31 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Tue, 3 Mar 2020 23:31:01 +0100 Subject: [PATCH] =?UTF-8?q?update=20Di=203.=20M=C3=A4r=2023:31:01=20CET=20?= =?UTF-8?q?2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routing.js b/server/routing.js index 10337ef..464cea3 100644 --- a/server/routing.js +++ b/server/routing.js @@ -131,7 +131,7 @@ module.exports = function(app, sql, uuidv4, app_cfg, passport, auth, waip, udp) app.get('/waip/:wachen_id', function(req, res, next) { var parmeter_id = req.params.wachen_id; sql.db_wache_vorhanden(parmeter_id, function(wache) { - if (result) { + if (wache) { res.render('waip', { public: app_cfg.public, title: 'Alarmmonitor',