upd: donasi

Deskripsi:
- api donasi saya

No Issues
This commit is contained in:
amel
2024-12-17 17:12:32 +08:00
parent 5108647efd
commit 1caa6d5563
8 changed files with 291 additions and 5 deletions

View File

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