diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-12 10:11:02 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-12 10:11:02 +0700 |
| commit | ab0782b5cf7b65930b0b40528b9205f3f0dfc3a0 (patch) | |
| tree | 6f28893f1a0d9be80cae9dc02d6861e174a7ffd7 /src/lib/auth/api | |
| parent | 752e55686dfee0d536f9e4e128336e91681ba794 (diff) | |
<iman> update switch account
Diffstat (limited to 'src/lib/auth/api')
| -rw-r--r-- | src/lib/auth/api/switchAccountProgresApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/api/switchAccountProgresApi.js b/src/lib/auth/api/switchAccountProgresApi.js index 4005ce3c..23e06742 100644 --- a/src/lib/auth/api/switchAccountProgresApi.js +++ b/src/lib/auth/api/switchAccountProgresApi.js @@ -5,7 +5,7 @@ const switchAccountProgresApi = async () => { const auth = getAuth(); console.log('auth', auth); const switchAccount = await odooApi( - 'PUT', + 'GET', `/api/v1/user/${auth.partner_id}/switch_progres` ); console.log('switchAccount', switchAccount); |
