From 11699834cf4a0d96a360133c104f58def0a46248 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 8 May 2025 12:59:22 +1000 Subject: [PATCH] fix: Use correct http code --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2194a46..0311a37 100644 --- a/main.py +++ b/main.py @@ -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"})