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