Use tableUrl for deleteProject
1 file changed+1−1
index.html+1−1View file
| @@ -4132,7 +4132,7 @@ | ||
| if (!isTempId(projectId)) { | ||
| try { | ||
| - await apiFetch(`/api/projects/${projectId}`, { | ||
| + await apiFetch(tableUrl('projects', projectId), { | ||
| method: 'DELETE' | ||
| }); | ||
| } catch (err) { | ||