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() c = db.cursor()
try: try:
user_id = request.form["id"] user_id = request.form["id"]
change = float(request.args.get("change")) change = float(request.form["change"])
except: except:
return render_template("error.html", error_code="095") return render_template("error.html", error_code="095")
c.execute(f"SELECT * FROM users WHERE id=?", [user_id]) c.execute(f"SELECT * FROM users WHERE id=?", [user_id])