diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 13:15:02 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-23 13:15:02 +0700 |
| commit | f0f002ff77481db91d264069d09f580d58001a8c (patch) | |
| tree | cb3b916a1688c17407d1a831e36c12c6021feac3 /src/lib/auth/api/switchAccountApi.js | |
| parent | c13bb5c6f78032695b24cf8a6c23942eb465c6d5 (diff) | |
<iman> update switch account
Diffstat (limited to 'src/lib/auth/api/switchAccountApi.js')
| -rw-r--r-- | src/lib/auth/api/switchAccountApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/api/switchAccountApi.js b/src/lib/auth/api/switchAccountApi.js index 9b772d20..79ca2553 100644 --- a/src/lib/auth/api/switchAccountApi.js +++ b/src/lib/auth/api/switchAccountApi.js @@ -5,7 +5,7 @@ const switchAccountApi = async ({ data }) => { const auth = getAuth(); const switchAccount = await odooApi( 'PUT', - `/api/v1/user/${auth.partner_id}/switch`, + `/api/v1/user/${auth.partnerId}/switch`, data ); return switchAccount; |
