upd: report divisi
Deskripsi: - report semua divisi - report 1 divisi No Issues
This commit is contained in:
@@ -77,4 +77,9 @@ export const funAddDivisionMember = async (path: string, data: IFormMemberDivisi
|
||||
export const funGetListDivisionByIdDivision = async (path: string) => {
|
||||
const response = await fetch(`/api/division/more${path}`);
|
||||
return await response.json().catch(() => null);
|
||||
}
|
||||
|
||||
export const funGetReportDivision = async (path?: string) => {
|
||||
const response = await fetch(`/api/division/report${(path) ? path : ''}`, { next: { tags: ['discussion'] } });
|
||||
return await response.json().catch(() => null);
|
||||
}
|
||||
Reference in New Issue
Block a user