confrim before delete a workspace or a project
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-20 11:37:43 +03:30
parent d3fd21177b
commit a3ce347f02
8 changed files with 156 additions and 21 deletions
@@ -25,3 +25,8 @@ export const updateProject = async (id: string, params: UpdateProjectType) => {
const { data } = await axios.patch(`/task-manager/projects/${id}`, params);
return data;
};
export const deleteProject = async (id: string) => {
const { data } = await axios.delete(`/task-manager/projects/${id}`);
return data;
};