Skip to content

Commit

Permalink
fix: Rename analysis endpoints to match RESTful requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
anth-volk committed Oct 9, 2024
1 parent 0cf9fcb commit 4b47616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions policyengine_api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
methods=["GET"],
)(get_economic_impact)

app.route("/<country_id>/simulation_analysis", methods=["POST"])(
app.route("/<country_id>/simulation-analysis", methods=["POST"])(
execute_simulation_analysis
)

Expand All @@ -118,7 +118,7 @@

app.route("/simulations", methods=["GET"])(get_simulations)

app.route("/<country_id>/tracer_analysis", methods=["POST"])(
app.route("/<country_id>/tracer-analysis", methods=["POST"])(
execute_tracer_analysis
)

Expand Down

0 comments on commit 4b47616

Please sign in to comment.