From 3ed4393c77c873a8ec92f798e67ff40d2132d01b Mon Sep 17 00:00:00 2001 From: Peter KW Date: Tue, 2 Apr 2024 13:43:32 +0200 Subject: [PATCH] Fixed fetch path in removeProject --- frontend/src/API/API.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index c872a9d..890a7e6 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -650,7 +650,7 @@ export const api: API = { token: string, ): Promise> { try { - const response = await fetch(`/api/projectdelete/${projectName}`, { + const response = await fetch(`/api/removeProject/${projectName}`, { method: "DELETE", headers: { "Content-Type": "application/json",