fix: Update format for failed connection
All checks were successful
Build Docker / Build Image (push) Successful in 53s

This commit is contained in:
2025-05-08 12:56:55 +10:00
parent 8ce0e94e67
commit 17ad73ad8b

View File

@@ -1576,7 +1576,7 @@ def api_status():
# This doesn't require a login # This doesn't require a login
# Check if the node is connected # Check if the node is connected
if not account_module.hsdConnected(): if not account_module.hsdConnected():
return jsonify({"status":400,"error": "Node not connected"}, 400) return jsonify({"status":400,"error": "Node not connected"}), 400
return jsonify({"status": 200,"result": "FireWallet is running"}) return jsonify({"status": 200,"result": "FireWallet is running"})
@@ -1625,4 +1625,4 @@ if __name__ == '__main__':
if "--debug" in sys.argv: if "--debug" in sys.argv:
app.run(debug=True,host='0.0.0.0') app.run(debug=True,host='0.0.0.0')
else: else:
app.run(host='0.0.0.0') app.run(host='0.0.0.0')