Fixed fetch path in removeProject
This commit is contained in:
parent
75876e43da
commit
3ed4393c77
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue