This commit is contained in:
2000-Trek 2023-06-14 21:39:13 +02:00
parent a311cc2e67
commit e62dd088a4

View file

@ -235,7 +235,7 @@ def request_removetag(data):
@app.route("/api/tag_id", methods=['GET']) @app.route("/api/tag_id", methods=['GET'])
def get_id(): def get_id():
global finished global finished
global messages global message
tag_id = int(request.args.get("id")) tag_id = int(request.args.get("id"))
c.execute(f"SELECT * FROM tags WHERE tagid ={tag_id}") c.execute(f"SELECT * FROM tags WHERE tagid ={tag_id}")