From 3cfe10fded87dbdb586f5c7d5ba1e325c5092a96 Mon Sep 17 00:00:00 2001 From: withsang Date: Sat, 25 Nov 2023 01:56:53 +0900 Subject: [PATCH] fix(api): change kmeans to equal --- src/components/organisms/LocalCouncilReport.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/organisms/LocalCouncilReport.tsx b/src/components/organisms/LocalCouncilReport.tsx index 04b6006..feeac2b 100644 --- a/src/components/organisms/LocalCouncilReport.tsx +++ b/src/components/organisms/LocalCouncilReport.tsx @@ -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;