diff options
| author | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-08-12 17:31:31 +0700 |
|---|---|---|
| committer | Indoteknik . <andrifebriyadiputra@gmail.com> | 2025-08-12 17:31:31 +0700 |
| commit | c527fa8fe9772b456a11a52f52c7ee091504d734 (patch) | |
| tree | 37c6fa112cda3b5959ed07a877b56f08e827fa06 /src/lib/auth/api/switchAccountApi.js | |
| parent | dd0c699d8a866b53b962f92f98939ebb527dded0 (diff) | |
(andri) fix switch account ke bisnis
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 ); |
