delete project

This commit is contained in:
Jurgis Sakalauskas committed 2025-10-16 08:48:31 +03:00
1 parent 343f48de66
commit cea323ec3b
4 files changed
+74

No files matched your search

+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' });
};