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 6bd6be5 commit f332d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modals/HouseholdAIModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function HouseholdAIModal(props) {

const res = await countryApiCall(
countryId,
`/tracer_analysis`,
`/tracer-analysis`,
jsonObject,
"POST",
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/policy/output/Analysis.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export default function Analysis(props) {

const res = await countryApiCall(
metadata.countryId,
`/simulation_analysis`,
`/simulation-analysis`,
jsonObject,
"POST",
);
Expand Down

0 comments on commit f332d85

Please sign in to comment.