From 3af4ce16e15ba3e757cce99456fa7f211363c3e9 Mon Sep 17 00:00:00 2001 From: Mufeed Ali Date: Sun, 31 Oct 2021 11:23:25 +0530 Subject: [PATCH] Require API key for submitting suggestions Also removes limiter exemption --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 6561360..edc45dd 100644 --- a/app/app.py +++ b/app/app.py @@ -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