Fix missing types on integer route arguments

This commit is contained in:
rubenwardy
2023-06-25 00:29:18 +01:00
parent 461d45b411
commit adbc2b0195
3 changed files with 6 additions and 6 deletions

View File

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