mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-11-07 14:18:03 +00:00
delete project
This commit is contained in:
1 parent
343f48de66
commit
cea323ec3b
4 files changed
+74
No files matched your search
@@ -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' });
|
||||
};
|
||||
Reference in new issue
Block a user