From fcf5dd05163211d5e0e8e5c3becb35a6d25b9830 Mon Sep 17 00:00:00 2001 From: Haralan Dobrev Date: Sat, 25 Mar 2023 17:20:17 +0200 Subject: [PATCH] Fix towns filter for BG --- src/components/modules/filter_components/MainFilter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/modules/filter_components/MainFilter.js b/src/components/modules/filter_components/MainFilter.js index c86cd58..afc9e45 100644 --- a/src/components/modules/filter_components/MainFilter.js +++ b/src/components/modules/filter_components/MainFilter.js @@ -102,7 +102,7 @@ export default (props) => { } else { //if country is Bulgaria: gets all towns in the given MIR and municipality const res3 = await axios.get( - `${apiHost}/towns?country=00&election_region=${chosenMir}&municipality=${chosenMunicipality}`, + `${apiHost}/towns?country=000&election_region=${chosenMir}&municipality=${chosenMunicipality}`, { headers: { Authorization: `Bearer ${idToken}` }, }