chore: rename service/thunk files to follow get/fetch naming convention
This commit is contained in:
@@ -22,7 +22,7 @@ export async function fetchAnalogInputsHistoryService(): Promise<
|
||||
|
||||
if (isDev) {
|
||||
// ⬇️ ENTWICKLUNG: über API-Handler
|
||||
const response = await fetch("/api/cpl/fetchAnalogInputsHistory");
|
||||
const response = await fetch("/api/cpl/getAnalogInputsHistory");
|
||||
if (!response.ok) throw new Error("Fehler beim Laden der Mock-Daten");
|
||||
return await response.json();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user