Fixed fetch path in removeProject

This commit is contained in:
Peter KW 2024-04-02 13:43:32 +02:00
parent 75876e43da
commit 3ed4393c77

View file

@ -650,7 +650,7 @@ export const api: API = {
token: string, token: string,
): Promise<APIResponse<string>> { ): Promise<APIResponse<string>> {
try { try {
const response = await fetch(`/api/projectdelete/${projectName}`, { const response = await fetch(`/api/removeProject/${projectName}`, {
method: "DELETE", method: "DELETE",
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",