Skip to content

Commit

Permalink
Update flask_app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
atalyaalon authored Apr 25, 2024
1 parent 51313b6 commit e096c0a
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 @@ -1091,7 +1091,7 @@ def acc_in_area_query():
view_func=injured_around_schools_api,
methods=["GET"],
)
app.add_url_rule("/api/news-flash", endpoint=None, view_func=news_flash_v2, methods=["GET"])
app.add_url_rule("/api/news-flash", endpoint=None, view_func=news_flash_v2, methods=["GET", "PATCH", "OPTIONS"])
app.add_url_rule("/api/comments", endpoint=None, view_func=get_comments, methods=["GET"])
app.add_url_rule("/api/comments", endpoint=None, view_func=create_comment, methods=["POST"])

Expand Down

0 comments on commit e096c0a

Please sign in to comment.