This commit is contained in:
Andreas Wilms
2025-09-08 18:30:35 +02:00
commit f12cc8b2ce
130 changed files with 16911 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
"use server";
const apiUrl = process.env.NEXT_SERVER_API_URL;
export async function deleteVorlageFlaechendruck(id: number) {
const res = await fetch(`${apiUrl}/vorlageFlaechendruck/delete/${id}`, {
method: "DELETE",
});
if (!res.ok) {
throw new Error("Failed to delete item");
}
return;
}