From 44c3bf46f460f2ef9fc5a2b6550dd864a1069e41 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Mon, 28 Apr 2025 16:58:09 +0700 Subject: [PATCH] update --- src/config/api.config.ts | 4 ++-- .../home/user-profile/hooks/AccountUserProfileContext.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/config/api.config.ts b/src/config/api.config.ts index 9a85415..56e9c15 100644 --- a/src/config/api.config.ts +++ b/src/config/api.config.ts @@ -2,7 +2,7 @@ interface apiConfigProps { service_dashboard: string; service_customer: string; service_master_data: string; - service_master_data2: string; + // service_master_data2: string; service_transaction: string; service_wallet: string; transaction: string; @@ -19,7 +19,7 @@ const apiConfig: apiConfigProps = { // service_dashboard: `${API_URL}${import.meta.env.VITE_ENV != 'development' ? '/d' : ''}`, service_dashboard: `${API_URL}/d`, service_customer: `${API_URL}/c`, - service_master_data2: `${API_URL}/m`, + // service_master_data2: `${API_URL}/m`, service_master_data: `${API_URL}/t`, service_transaction: `${API_URL}/tt`, service_wallet: `${API_URL}/w`, diff --git a/src/pages/account/home/user-profile/hooks/AccountUserProfileContext.tsx b/src/pages/account/home/user-profile/hooks/AccountUserProfileContext.tsx index 21cb37c..30fc219 100644 --- a/src/pages/account/home/user-profile/hooks/AccountUserProfileContext.tsx +++ b/src/pages/account/home/user-profile/hooks/AccountUserProfileContext.tsx @@ -44,7 +44,7 @@ const initialProps: ContextProps = { const AccountUserProfileContext = createContext(initialProps); const API_URL = apiConfig.service_dashboard; -const API_URL2 = apiConfig.service_master_data2; +const API_URL2 = apiConfig.service_customer; const AccountUserProfileContextProvider = ({ children }: { children: React.ReactNode }) => { const { login } = useAuthContext();