confrim before delete a workspace or a project
deploy to danak / build_and_deploy (push) Has been cancelled
deploy to danak / build_and_deploy (push) Has been cancelled
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user