upd: task

Deskripsi:
- update database
- task divisi

No Issues
This commit is contained in:
amel
2024-08-15 11:53:15 +08:00
parent d34a0a1a82
commit 6e59aca9d6
14 changed files with 155 additions and 79 deletions

View File

@@ -0,0 +1,4 @@
export const funGetAllTask = async (path?: string) => {
const response = await fetch(`/api/task${(path) ? path : ''}`, { next: { tags: ['task'] } });
return await response.json().catch(() => null);
}

View File