From 2f5dad02464eff66a1a77ec2e3c5af317c1fa1c2 Mon Sep 17 00:00:00 2001 From: ISA Date: Tue, 25 Jun 2024 10:31:25 +0200 Subject: [PATCH] temp: --- components/MapComponent.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/MapComponent.js b/components/MapComponent.js index 431a833e1..9a354572e 100644 --- a/components/MapComponent.js +++ b/components/MapComponent.js @@ -74,7 +74,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { const fetchGisStatusStations = async (idMap, idUser) => { try { const response = await fetch( - `/api/talas_v5_DB/getGisStatusStations?idMap=${idMap}&idUser=${idUser}` + `/api/talas5/webserviceMap/GisStationsStatusDistrict?idMap=${idMap}&idUser=${idUser}` ); if (!response.ok) { throw new Error(`Error: ${response.statusText}`); @@ -88,7 +88,7 @@ const MapComponent = ({ locations, onLocationUpdate, lineCoordinates }) => { }; useEffect(() => { - fetchGisStatusStations(1, 123); // Beispielaufruf mit idMap = 1 und idUser = 123 + fetchGisStatusStations(12, 484); // Beispielaufruf mit idMap = 10 und idUser = 484 }, []); //---------------------------------------------------------------------