This commit is contained in:
2000-Trek 2023-11-24 20:38:55 +01:00
parent 36eb199ee9
commit c2fbae3b03

View file

@ -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])