From 17ad73ad8be955c43be292c567d9b0b1f55590c1 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 8 May 2025 12:56:55 +1000 Subject: [PATCH] fix: Update format for failed connection --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index b8a3035..2194a46 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":400,"error": "Node not connected"}), 400 return jsonify({"status": 200,"result": "FireWallet is running"}) @@ -1625,4 +1625,4 @@ if __name__ == '__main__': if "--debug" in sys.argv: app.run(debug=True,host='0.0.0.0') else: - app.run(host='0.0.0.0') \ No newline at end of file + app.run(host='0.0.0.0')