Fix API endpoint for checking project manager

This commit is contained in:
Davenludd 2024-03-28 12:25:24 +01:00
parent c002f0e530
commit 4a71078f2a

View file

@ -199,7 +199,7 @@ export const api: API = {
): Promise<APIResponse<boolean>> {
try {
const response = await fetch(
`/api/checkIfProjectManager?projectName=${projectName}`,
`/api/checkIfProjectManager/${projectName}`,
{
method: "GET",
headers: {