From dcc95f3a15b0762b8ea5ef1535bb6cff2ee79c48 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Wed, 4 Mar 2020 17:01:01 +0100 Subject: [PATCH] =?UTF-8?q?update=20Mi=204.=20M=C3=A4r=2017:01:01=20CET=20?= =?UTF-8?q?2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/waip.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 server/waip.js diff --git a/server/waip.js b/server/waip.js old mode 100644 new mode 100755 index cdbae95..4d6b088 --- a/server/waip.js +++ b/server/waip.js @@ -73,10 +73,10 @@ module.exports = function(io, sql, async, app_cfg) { sql.db_get_waipid_by_uuid(waip_uuid, function(waip_id) { - /*console.log('rueckmeldung waip_id: '+waip_id); + console.log('rueckmeldung waip_id: '+waip_id); sql.db_get_einsatzwachen(waip_id, function(data) { console.log(data); - if (data) { + /*if (data) { data.forEach(function(row) { @@ -99,8 +99,8 @@ module.exports = function(io, sql, async, app_cfg) { }); } else { sql.db_log('Fehler-WAIP', 'Fehler: Wache für waip_id ' + waip_id + ' nicht vorhanden, Rückmeldung konnte nicht verteilt werden!'); - }; - });*/ + };*/ + }); }); };