Mocks erstellt für API für Entwicklungsumgebung

This commit is contained in:
ISA
2025-06-20 13:41:07 +02:00
parent 01d292e72f
commit 0388512f51
727 changed files with 3443 additions and 1948994 deletions

View File

@@ -14,7 +14,13 @@ export default async function handler(
return res.status(400).json({ error: "Missing parameter: id" });
}
const filePath = path.join(process.cwd(), "apiMockData", "TDR", `${id}.json`);
const filePath = path.join(
process.cwd(),
"mocks",
"device-cgi-simulator",
"TDR",
`${id}.json`
);
try {
const data = await fs.readFile(filePath, "utf-8");