mirror of
https://github.com/sakaljurgis/best-choice.git
synced 2026-07-08 21:47:40 +00:00
delete project
This commit is contained in:
@@ -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