User – Investment
app/(application)/(user)/investment/(tabs)/_layout.tsx app/(application)/(user)/investment/(tabs)/portofolio.tsx app/(application)/(user)/investment/create.tsx Admin – Investment app/(application)/admin/investment/[id]/reject-input.tsx Screens / UI screens/Invesment/BoxBerandaSection.tsx API service/api-admin/api-admin-investment.ts Utils utils/pickFile.ts ### No Issue
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { typeRejectedData } from "@/types/type-collect-other";
|
||||
import { apiConfig } from "../api-config";
|
||||
|
||||
export async function apiAdminInvestment({
|
||||
@@ -38,7 +39,7 @@ export async function apiAdminInvestasiUpdateByStatus({
|
||||
}: {
|
||||
id: string;
|
||||
status: "publish" | "review" | "reject";
|
||||
data: any;
|
||||
data: typeRejectedData;
|
||||
}) {
|
||||
try {
|
||||
const response = await apiConfig.put(
|
||||
|
||||
Reference in New Issue
Block a user