Fix crash due to incorrect /tasks/ param type

This commit is contained in:
rubenwardy 2023-06-25 12:20:23 +01:00
parent adbc2b0195
commit 78f0d1f6c3

@ -39,7 +39,7 @@ def start_getmeta():
})
@bp.route("/tasks/<int:id>/")
@bp.route("/tasks/<id>/")
def check(id):
result = celery.AsyncResult(id)
status = result.status