upd : edit donasi
Deskripsi: - ubah api master pada edit donasi - get one edit donasi No Issues
This commit is contained in:
@@ -11,4 +11,9 @@ export const apiGetMasterDonasi = async (path?: string) => {
|
||||
export const apiGetAllDonasiSaya = async (path?: string) => {
|
||||
const response = await fetch(`/api/new/donasi/invoice${(path) ? path : ''}`)
|
||||
return await response.json().catch(() => null)
|
||||
}
|
||||
|
||||
export const apiGetOneDonasiById = async (path: string) => {
|
||||
const response = await fetch(`/api/new/donasi/${path}`)
|
||||
return await response.json().catch(() => null)
|
||||
}
|
||||
Reference in New Issue
Block a user