diff --git a/main.py b/main.py index 5608b66..7fb586c 100644 --- a/main.py +++ b/main.py @@ -168,11 +168,11 @@ def adduser(): @app.route("/change", methods=['GET']) def change(): try: - user_id = int(request.args.get("id")) + user_id = request.args.get("id") change = int(request.args.get("change")) except: return '
Error: 095
tags and user list' - c.execute(f"SELECT * FROM users WHERE id='?'", [user_id]) + c.execute(f"SELECT * FROM users WHERE id=?", [user_id]) users = c.fetchall() if users != []: balance_old = users[0][2]