update Mo 1. Jun 10:01:01 CEST 2020

This commit is contained in:
Robert Richter 2020-06-01 10:01:01 +02:00
parent d8834f8cef
commit 54185a14ad

View File

@ -72,13 +72,13 @@ module.exports = function (io, sql, app_cfg, waip) {
});
// neuer Einsatz vom Endpoint-Server
remote_api.on('res_new_waip', function (data) {
remote_api.on('get_new_waip', function (data) {
waip.einsatz_speichern(data);
sql.db_log('API', 'Neuer Einsatz von ' + app_cfg.endpoint.host + ': ' + data);
});
// neue Rückmeldung vom Endpoint-Server
remote_api.on('res_new_rmld', function (data) {
remote_api.on('get_new_rmld', function (data) {
sql.db_rmld_save(data, function (result) {
if (result) {
waip.rmld_verteilen_by_uuid(data.waip_uuid, data.rmld_uuid);