style: update user member

Deskripsi:
- update api division
- update task
- update calender
- update division
- update project

No Issue
This commit is contained in:
lukman
2024-09-06 13:55:21 +08:00
parent ab1cd29621
commit 49f7b3c102
11 changed files with 643 additions and 109 deletions

View File

@@ -82,4 +82,9 @@ export const funGetListDivisionByIdDivision = async (path: string) => {
export const funGetReportDivision = async (path?: string) => {
const response = await fetch(`/api/division/report${(path) ? path : ''}`, { next: { tags: ['discussion'] } });
return await response.json().catch(() => null);
}
export const funGetSearchMemberDivision = async (path: string, id: string) => {
const response = await fetch(`/api/division/${id}/member/${(path) ? path : ''}`, { next: { tags: ['division'] } });
return await response.json().catch(() => null);
}