response wird jtz in index.js geprüft
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user