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 e096c0a commit fdefe3e
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 @@ -1176,7 +1176,7 @@ def datetime_to_str(val: datetime.datetime) -> str:
)


@api.route("/api/news-flash/<int:news_flash_id>", methods=["GET", "PATCH"])
@api.route("/api/news-flash/<int:news_flash_id>", methods=["GET", "PATCH", "OPTIONS"])
class ManageSingleNewsFlash(Resource):
@api.doc("get single news flash")
@api.response(404, "News flash not found")
Expand Down

0 comments on commit fdefe3e

Please sign in to comment.