response wird jtz in index.js geprüft

This commit is contained in:
Technoir committed 2026-10-09 22:37:46 +02:00
1 parent 18daded2c2
commit 9f436720e9
1 file changed
+2 -2
@@ -14,8 +14,8 @@ export async function addList(listName) {
}
export async function deleteList(id) {
const response = await fetch(`/api/list/${id}`, { method: "DELETE" })
.then(r => console.log("Liste entfernt"))
const response = await fetch(`/api/list/${id}`, { method: "DELETE" });
return response;
}