diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-16 08:16:10 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-16 08:16:10 +0700 |
| commit | 91b73f89b35874df3e0b88c67cf906df06965782 (patch) | |
| tree | 8a4bac4fb6e67c086a493e6683ce43f733468eba /src/lib/auth/api/switchAccountApi.js | |
| parent | 0fa70adbf4a9fab74337d35dcfd21722370ac93e (diff) | |
| parent | 1a68a24e9fb58ecc1ade9d1d792ea06b432e4989 (diff) | |
Merge branch 'new-release' of https://bitbucket.org/altafixco/next-indoteknik into fix-map
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 79ca2553..f62693f6 100644 --- a/src/lib/auth/api/switchAccountApi.js +++ b/src/lib/auth/api/switchAccountApi.js @@ -4,7 +4,7 @@ import { getAuth } from '@/core/utils/auth'; const switchAccountApi = async ({ data }) => { const auth = getAuth(); const switchAccount = await odooApi( - 'PUT', + 'POST', `/api/v1/user/${auth.partnerId}/switch`, data ); |
