upd: donasi

Deskripsi:
- update api master untuk create donasi

No Issues
This commit is contained in:
amel
2024-12-12 17:21:31 +08:00
parent 03c11c617c
commit bd2016deb3
6 changed files with 311 additions and 9 deletions

View File

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