From 948315526a4875424eeecea94ea21004ffef3894 Mon Sep 17 00:00:00 2001 From: tkalir Date: Sun, 21 Apr 2024 07:36:01 +0300 Subject: [PATCH] Update flask_app.py --- anyway/flask_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anyway/flask_app.py b/anyway/flask_app.py index 42141420..2eba0c90 100755 --- a/anyway/flask_app.py +++ b/anyway/flask_app.py @@ -1096,6 +1096,7 @@ def acc_in_area_query(): app.add_url_rule("/api/comments", endpoint=None, view_func=create_comment, methods=["POST"]) app.add_url_rule("/api/v1/news-flash", endpoint=None, view_func=news_flash, methods=["GET"]) +app.add_url_rule("/api/test_roles", endpoint=None, view_func=test_roles, methods=["GET"]) @app.after_request def add_allow_methods_header(response): @@ -1549,7 +1550,6 @@ def get(self): ) -@api.route("/api/test_roles", methods=["GET"]) def test_roles(): return test_roles_func()