mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-09 16:32:37 +01:00
this work???
This commit is contained in:
parent
658cc5cd5d
commit
08db2d9f8f
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ def getInfo(id):
|
||||||
return worker.idInfo(id)
|
return worker.idInfo(id)
|
||||||
|
|
||||||
@csrf.exempt
|
@csrf.exempt
|
||||||
@app.route('/<id>/delete', methods=["GET", "POST"])
|
@app.route('/<id>/delete')
|
||||||
def delete(id):
|
def delete(id):
|
||||||
if Config.files.find_one({"id": id}) is not None:
|
if Config.files.find_one({"id": id}) is not None:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue