upd: donasi
Deskripsi: - api donasi saya No Issues
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user