diff --git a/server/udp.js b/server/udp.js index afc4165..08f268b 100644 --- a/server/udp.js +++ b/server/udp.js @@ -25,7 +25,7 @@ module.exports = function(app_cfg, waip, sql) { udp_server.on('message', function(message, remote) { if (isValidJSON(message)) { sql.db_log('WAIP', 'Neuer Einsatz von ' + remote.address + ':' + remote.port + ': ' + message); - waip.einsatz_speichern(message); + waip.einsatz_speichern(message, app_cfg.global.app_id); } else { sql.db_log('Fehler-WAIP', 'Fehler: Einsatz von ' + remote.address + ':' + remote.port + ' Fehlerhaft: ' + message); }