Skip to content

Commit

Permalink
Update flask_app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tkalir authored Apr 21, 2024
1 parent 36f8734 commit 9483155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anyway/flask_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -1549,7 +1550,6 @@ def get(self):
)


@api.route("/api/test_roles", methods=["GET"])
def test_roles():
return test_roles_func()

Expand Down

0 comments on commit 9483155

Please sign in to comment.