summaryrefslogtreecommitdiff
path: root/src/lib/auth/api/switchAccountProgresApi.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-09-23 13:15:02 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-09-23 13:15:02 +0700
commitf0f002ff77481db91d264069d09f580d58001a8c (patch)
treecb3b916a1688c17407d1a831e36c12c6021feac3 /src/lib/auth/api/switchAccountProgresApi.js
parentc13bb5c6f78032695b24cf8a6c23942eb465c6d5 (diff)
<iman> update switch account
Diffstat (limited to 'src/lib/auth/api/switchAccountProgresApi.js')
-rw-r--r--src/lib/auth/api/switchAccountProgresApi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/api/switchAccountProgresApi.js b/src/lib/auth/api/switchAccountProgresApi.js
index 23e06742..ba1c35fa 100644
--- a/src/lib/auth/api/switchAccountProgresApi.js
+++ b/src/lib/auth/api/switchAccountProgresApi.js
@@ -6,7 +6,7 @@ const switchAccountProgresApi = async () => {
console.log('auth', auth);
const switchAccount = await odooApi(
'GET',
- `/api/v1/user/${auth.partner_id}/switch_progres`
+ `/api/v1/user/${auth.partnerId}/switch_progres`
);
console.log('switchAccount', switchAccount);
return switchAccount;