update So 7. Jun 18:01:01 CEST 2020
This commit is contained in:
parent
92c4f715ff
commit
cde9067dba
@ -25,7 +25,7 @@ module.exports = function(app_cfg, waip, sql) {
|
|||||||
udp_server.on('message', function(message, remote) {
|
udp_server.on('message', function(message, remote) {
|
||||||
if (isValidJSON(message)) {
|
if (isValidJSON(message)) {
|
||||||
sql.db_log('WAIP', 'Neuer Einsatz von ' + remote.address + ':' + remote.port + ': ' + 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 {
|
} else {
|
||||||
sql.db_log('Fehler-WAIP', 'Fehler: Einsatz von ' + remote.address + ':' + remote.port + ' Fehlerhaft: ' + message);
|
sql.db_log('Fehler-WAIP', 'Fehler: Einsatz von ' + remote.address + ':' + remote.port + ' Fehlerhaft: ' + message);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user