Require API key for submitting suggestions

Also removes limiter exemption
This commit is contained in:
Mufeed Ali 2021-10-31 11:23:25 +05:30
parent 56e81856b2
commit 3af4ce16e1
No known key found for this signature in database
GPG key ID: 5B93F7B4CC99C769

View file

@ -811,7 +811,7 @@ def create_app(args):
) )
@app.route("/suggest", methods=["POST"]) @app.route("/suggest", methods=["POST"])
@limiter.exempt @access_check
def suggest(): def suggest():
""" """
Submit a suggestion to improve a translation Submit a suggestion to improve a translation