Skip to content

Commit

Permalink
fix: Merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
anth-volk committed Nov 25, 2024
1 parent 107416a commit 8e94ba7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 105 deletions.
95 changes: 0 additions & 95 deletions policyengine_api/endpoints/tracer_analysis.py

This file was deleted.

6 changes: 1 addition & 5 deletions policyengine_api/routes/simulation_analysis_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@


@simulation_analysis_bp.route("", methods=["POST"])
@validate_country
def execute_simulation_analysis(country_id):
print("Got POST request for simulation analysis")

# Validate inbound country ID
invalid_country = validate_country(country_id)
if invalid_country:
return invalid_country

# Pop items from request payload and validate
# where necessary
payload = request.json
Expand Down
6 changes: 1 addition & 5 deletions policyengine_api/routes/tracer_analysis_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,9 @@


@tracer_analysis_bp.route("", methods=["POST"])
@validate_country
def execute_tracer_analysis(country_id):

# Validate country ID
country_not_found = validate_country(country_id)
if country_not_found:
return country_not_found

payload = request.json

is_payload_valid, message = validate_payload(payload)
Expand Down

0 comments on commit 8e94ba7

Please sign in to comment.