typo
This commit is contained in:
parent
9233e716b2
commit
6ab51e7e99
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -64,7 +64,7 @@ def user_info():
|
||||||
def new_user():
|
def new_user():
|
||||||
return render_template("adduser.html")
|
return render_template("adduser.html")
|
||||||
|
|
||||||
@app.route("/removeuser", methode=['GET'])
|
@app.route("/removeuser", methodes=['GET'])
|
||||||
def remove_user():
|
def remove_user():
|
||||||
user_id = request.args.get("id")
|
user_id = request.args.get("id")
|
||||||
c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig?
|
c.execute(f"DELETE * FROM tags WHERE (userid = {user_id}) ") #Ist hier noch eine Bestätigung nötig?
|
||||||
|
|
Loading…
Reference in a new issue