cleanup: alte GIS-Fetch-Dateien und unnötige Service-Imports entfernt – vollständige Umstellung auf zentrale Thunks abgeschlossen

This commit is contained in:
ISA
2025-05-21 10:41:59 +02:00
parent 86f1c1feb0
commit 0b7704935f
19 changed files with 110 additions and 31 deletions

View File

@@ -0,0 +1,8 @@
// /services/database/fetchLocationDevicesService.js
export const fetchLocationDevicesService = async () => {
const response = await fetch("/api/talas_v5_DB/locationDevice/locationDevices");
if (!response.ok) {
throw new Error("Geräteliste konnte nicht geladen werden");
}
return await response.json();
};