fix: Use correct http code

This commit is contained in:
2025-05-08 12:59:22 +10:00
parent 17ad73ad8b
commit 11699834cf

View File

@@ -1576,7 +1576,7 @@ def api_status():
# This doesn't require a login
# Check if the node is connected
if not account_module.hsdConnected():
return jsonify({"status":400,"error": "Node not connected"}), 400
return jsonify({"status":503,"error": "Node not connected"}), 503
return jsonify({"status": 200,"result": "FireWallet is running"})