forked from bton/matekasse
typo ?
This commit is contained in:
parent
24973d555d
commit
872d5e4044
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
@ -67,7 +67,8 @@ def new_user():
|
|||
@app.route("/removeuser", methods=['GET'])
|
||||
def remove_user():
|
||||
user_id = request.args.get("id")
|
||||
c.execute(f"DELETE * FROM tags WHERE userid={user_id}") #Noch eine Bestätigung nötig
|
||||
#Noch eine Bestätigung nötig
|
||||
c.execute(f"DELETE * FROM tags WHERE userid={user_id}")
|
||||
c.execute(f"DELETE * FROM users WHERE id={user_id}")
|
||||
conn.commit()
|
||||
|
||||
|
|
Loading…
Reference in a new issue