summaryrefslogtreecommitdiff
path: root/src/lib/auth/api/switchAccountProgresApi.js
diff options
context:
space:
mode:
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;