upd: detail task

Deskripsi:
- detail task divisi

- folder manager

No Issues
This commit is contained in:
amel
2024-08-16 17:29:01 +08:00
parent 75d05e9787
commit 02cd443915
18 changed files with 545 additions and 386 deletions

View File

@@ -18,4 +18,9 @@ export const funCreateTask = async (data: IFormTaskDivision) => {
body: JSON.stringify(data),
});
return await response.json().catch(() => null);
};
};
export const funGetTaskDivisionById = async (path: string, kategori: string) => {
const response = await fetch(`/api/task/${path}?cat=${kategori}`);
return await response.json().catch(() => null);
}