From ee9a4fceef0d4fe3588384ce78ad4039a835ad6c Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 24 Dec 2025 12:37:58 +0000 Subject: [PATCH] Fix status response to match frontend expectations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Frontend expects status='started' but backend was returning 'success'. This caused the frontend to show "Error: ADS-B tracking started". 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- routes/adsb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routes/adsb.py b/routes/adsb.py index 062fa13..f3897c6 100644 --- a/routes/adsb.py +++ b/routes/adsb.py @@ -204,7 +204,7 @@ def start_adsb(): adsb_using_service = True thread = threading.Thread(target=parse_sbs_stream, args=(existing_service,), daemon=True) thread.start() - return jsonify({'status': 'success', 'message': 'Connected to existing dump1090 service'}) + return jsonify({'status': 'started', 'message': 'Connected to existing dump1090 service'}) # No existing service, need to start dump1090 ourselves dump1090_path = find_dump1090() @@ -239,7 +239,7 @@ def start_adsb(): thread = threading.Thread(target=parse_sbs_stream, args=('localhost:30003',), daemon=True) thread.start() - return jsonify({'status': 'success', 'message': 'ADS-B tracking started'}) + return jsonify({'status': 'started', 'message': 'ADS-B tracking started'}) except Exception as e: return jsonify({'status': 'error', 'message': str(e)})