Fix ADS-B and VDL2 stop button handling

This commit is contained in:
Smittix
2026-02-25 10:05:16 +00:00
parent 91d475e599
commit afb103e2fc
3 changed files with 120 additions and 54 deletions
+2 -2
View File
@@ -685,7 +685,7 @@ def start_adsb():
'session': session
}), 409
data = request.json or {}
data = request.get_json(silent=True) or {}
start_source = data.get('source')
started_by = request.remote_addr
@@ -899,7 +899,7 @@ def start_adsb():
def stop_adsb():
"""Stop ADS-B tracking."""
global adsb_using_service, adsb_active_device
data = request.json or {}
data = request.get_json(silent=True) or {}
stop_source = data.get('source')
stopped_by = request.remote_addr