Skip to content

Commit

Permalink
fix(api): change kmeans to equal
Browse files Browse the repository at this point in the history
  • Loading branch information
withSang committed Nov 24, 2023
1 parent 48fc40b commit 3cfe10f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/organisms/LocalCouncilReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const LocalCouncilReport = ({ metroName, localName, idMap }: Props) => {
const fetchGraphData = () => {
axios
.get(
`localCouncil/age-hist/${metroId}/${localId}?ageHistType=elected&year=${ageHistYear}&method=kmeans`,
`localCouncil/age-hist/${metroId}/${localId}?ageHistType=elected&year=${ageHistYear}&method=equal`,
)
.then(response => {
const data = response.data as AgeHistogramDataAPIResponse;
Expand Down

0 comments on commit 3cfe10f

Please sign in to comment.