From 4a71078f2add6fe0879365dd9559af2e41a0dbbc Mon Sep 17 00:00:00 2001 From: Davenludd Date: Thu, 28 Mar 2024 12:25:24 +0100 Subject: [PATCH] Fix API endpoint for checking project manager --- 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 e7aab0c..403ea33 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -199,7 +199,7 @@ export const api: API = { ): Promise> { try { const response = await fetch( - `/api/checkIfProjectManager?projectName=${projectName}`, + `/api/checkIfProjectManager/${projectName}`, { method: "GET", headers: {