fix error

master
James Sigurðarson 2016-08-03 22:05:49 +00:00
parent e2975b5422
commit f4c4e92fa1
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import config
api = Blueprint("api", __name__, url_prefix="/api")
@api.route("/submit/<int:challenge>.json", methods=["POST"])
@api.route("/submit/<int:challenge_id>.json", methods=["POST"])
@decorators.must_be_allowed_to("solve challenges")
@decorators.must_be_allowed_to("view challenges")
@decorators.competition_running_required