From c2fbae3b0334f1563a66444901b92617c20a961a Mon Sep 17 00:00:00 2001 From: 2000-Trek Date: Fri, 24 Nov 2023 20:38:55 +0100 Subject: [PATCH] fix --- Website/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/__init__.py b/Website/__init__.py index c6c1ab9..f74ba35 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -187,7 +187,7 @@ def create_app(test_config=None): c = db.cursor() try: user_id = request.form["id"] - change = float(request.args.get("change")) + change = float(request.form["change"]) except: return render_template("error.html", error_code="095") c.execute(f"SELECT * FROM users WHERE id=?", [user_id])