fix
This commit is contained in:
parent
36eb199ee9
commit
c2fbae3b03
1 changed files with 1 additions and 1 deletions
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue