mirror of
https://github.com/simon987/od-database.git
synced 2025-04-19 18:36:44 +00:00
Small fix
This commit is contained in:
parent
5ff198b88a
commit
65738b0e70
1
app.py
1
app.py
@ -579,6 +579,7 @@ def api_complete_task():
|
|||||||
print("ERROR: " + name + " indicated that task for " + str(task_result.website_id) +
|
print("ERROR: " + name + " indicated that task for " + str(task_result.website_id) +
|
||||||
" was completed but there is no such task in the database.")
|
" was completed but there is no such task in the database.")
|
||||||
return "No such task"
|
return "No such task"
|
||||||
|
return abort(403)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/api/task/upload", methods=["POST"])
|
@app.route("/api/task/upload", methods=["POST"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user