diff --git a/backend/package.json b/backend/package.json index 08b1fb8..02fb2e0 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "loa-viewer-backend", - "version": "2.2.0", + "version": "2.2.1", "description": "", "main": "app.js", "scripts": { diff --git a/backend/src/services/sector.service.ts b/backend/src/services/sector.service.ts index c57c741..463d1ee 100644 --- a/backend/src/services/sector.service.ts +++ b/backend/src/services/sector.service.ts @@ -56,7 +56,7 @@ async function updateSectors() { // fetch sectors // filenames as given in https://github.com/lennycolton/vatglasses-data/tree/main/data - const countries: string[] = ['germany', 'nl', 'belux', 'austria', 'czechia']; + const countries: string[] = ['ed', 'eh', 'eb-el', 'lo', 'lk']; const sectors = await retrieveAirspacesFromCountries(countries); // Insert fetched sectors diff --git a/frontend/src/components/Map.tsx b/frontend/src/components/Map.tsx index aca58a0..0361a71 100644 --- a/frontend/src/components/Map.tsx +++ b/frontend/src/components/Map.tsx @@ -91,7 +91,7 @@ export default function LoaViewerMap() { useEffect(() => { const stationsSet: Set = new Set(); for (const airspace of airspaces) { - if (airspace.country === 'germany' && airspace.group === selectedFir) { + if (airspace.country === 'ed' && airspace.group === selectedFir) { stationsSet.add(airspace.owner[0]); } }