API Event
Add: - api-client/api-event : fetch get one, update data, update status, create event Fix: - UI : create , detail dan status: untuk menyambungkan ke API ### No Issue
This commit is contained in:
@@ -21,6 +21,11 @@ export async function apiMasterSubBidangBisnis({ id }: { id?: string }) {
|
||||
}
|
||||
}
|
||||
|
||||
// export async function apiMasterEventType(params:type) {
|
||||
|
||||
// }
|
||||
export async function apiMasterEventType() {
|
||||
try {
|
||||
const response = await apiConfig.get(`/mobile/master/event-type`);
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user