Linien werden angezeigt aber noch nicht mit Daten von Redux Store sondern direkt fetch Aufruf

This commit is contained in:
ISA
2025-05-21 13:42:00 +02:00
parent 067eba95b5
commit 230bededa0
6 changed files with 81 additions and 34 deletions

View File

@@ -0,0 +1,7 @@
// /services/database/fetchLocationDevicesService.js
export const fetchGisLinesService = async () => {
const response = await fetch("/api/talas_v5_DB/gisLines/readGisLines");
if (!response.ok) throw new Error("Fehler beim Laden der Linien-Daten");
return await response.json();
};