()
| 90 | @api.route("/settings/network/wifi-networks", methods=["GET"]) |
| 91 | #@restricted_access |
| 92 | def getWifiNetworks(): |
| 93 | networks = networkManager().getWifiNetworks() |
| 94 | |
| 95 | if networks: |
| 96 | return jsonify(networks = networks) |
| 97 | else: |
| 98 | return jsonify({'message': "Unable to get WiFi networks"}) |
| 99 | |
| 100 | @api.route("/settings/network", methods=["GET"]) |
| 101 | #@restricted_access |
nothing calls this directly
no test coverage detected