upd: donasi

Deskripsi:
- update api donasi
- api galang dana nanti dlu aja, soalnya kejar tayang

No Issues
This commit is contained in:
amel
2024-12-12 14:28:35 +08:00
parent 880f2aef6b
commit 0d4cc57c8b
10 changed files with 394 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
export const apiGetAllDonasi = async (path?: string) => {
const response = await fetch(`/api/new/donasi${(path) ? path : ''}`)
return await response.json().catch(() => null)
}