upd: task

Deskripsi:
- update status task
- progress task

No Issues
This commit is contained in:
amel
2024-08-20 17:31:19 +08:00
parent 21c9aa4270
commit 7338d3041b
5 changed files with 37 additions and 7 deletions

View File

@@ -37,7 +37,7 @@ export const funDeleteDetailTask = async (path: string) => {
};
export const funUpdateStatusDetailTask = async (path: string, data: { status: number }) => {
export const funUpdateStatusDetailTask = async (path: string, data: { status: number, idProject: string }) => {
const response = await fetch(`/api/task/detail/${path}`, {
method: "PUT",
headers: {