mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-28 19:01:02 +00:00
Require API key for submitting suggestions
Also removes limiter exemption
This commit is contained in:
parent
56e81856b2
commit
3af4ce16e1
1 changed files with 1 additions and 1 deletions
|
@ -811,7 +811,7 @@ def create_app(args):
|
|||
)
|
||||
|
||||
@app.route("/suggest", methods=["POST"])
|
||||
@limiter.exempt
|
||||
@access_check
|
||||
def suggest():
|
||||
"""
|
||||
Submit a suggestion to improve a translation
|
||||
|
|
Loading…
Reference in a new issue