Fix missing types on integer route arguments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user