mirror of
https://github.com/smittix/intercept.git
synced 2026-06-20 03:14:21 -07:00
fix(meshcore): call scan_ble_sync() not scan_ble() in ble/scan route
Route was calling a non-existent method, causing a 500 on every scan. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ def ports():
|
|||||||
def ble_scan():
|
def ble_scan():
|
||||||
if not is_meshcore_available():
|
if not is_meshcore_available():
|
||||||
return api_error("meshcore not installed", 503)
|
return api_error("meshcore not installed", 503)
|
||||||
devices = _client().scan_ble()
|
devices = _client().scan_ble_sync()
|
||||||
return jsonify({"devices": devices})
|
return jsonify({"devices": devices})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user