this work???

This commit is contained in:
Jack Eilles 2024-01-19 13:20:10 +00:00
parent 658cc5cd5d
commit 08db2d9f8f

View file

@ -163,7 +163,7 @@ def getInfo(id):
return worker.idInfo(id)
@csrf.exempt
@app.route('/<id>/delete', methods=["GET", "POST"])
@app.route('/<id>/delete')
def delete(id):
if Config.files.find_one({"id": id}) is not None: