This commit is contained in:
2000-Trek 2023-06-23 21:26:01 +02:00
parent a84947db30
commit bc4b74f839

View file

@ -68,8 +68,7 @@ def list():
@app.route("/list/user", methods=['GET'])
def user_info():
id = urllib.parse.unquote_plus(request.args.get("id"))
db_log.info(id)
id = request.args.get("id")
c.execute(f"SELECT * FROM users WHERE id = {id}")
user_list = c.fetchall()
if user_list != []: