Investment
Add: - components/Button/CoyButton.tsx - constants/local-storage-key.ts Fix: - Integrasi pada proses transaksi pmebelian investasi ### No Issue
This commit is contained in:
@@ -110,7 +110,11 @@ export async function apiForumCreateReportCommentar({
|
||||
export async function apiMasterInvestment({
|
||||
category,
|
||||
}: {
|
||||
category?: "pencarian-investor" | "periode-deviden" | "pembagian-deviden" | string;
|
||||
category?:
|
||||
| "pencarian-investor"
|
||||
| "periode-deviden"
|
||||
| "pembagian-deviden"
|
||||
| string;
|
||||
}) {
|
||||
const selectCategory = category ? `?category=${category}` : "";
|
||||
try {
|
||||
@@ -122,3 +126,12 @@ export async function apiMasterInvestment({
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
export async function apiMasterBank() {
|
||||
try {
|
||||
const response = await apiConfig.get(`/mobile/master/bank`);
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user