delete project

This commit is contained in:
Jurgis Sakalauskas
2025-10-16 08:48:31 +03:00
parent 343f48de66
commit cea323ec3b
4 changed files with 74 additions and 0 deletions
+4
View File
@@ -120,3 +120,7 @@ export const updateProject = async (
return response.data;
};
export const deleteProject = async (projectId: string): Promise<void> => {
await apiFetch<void>(`/projects/${projectId}`, { method: 'DELETE' });
};