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/editPersonalProfileApi.js | |
| parent | dd0c699d8a866b53b962f92f98939ebb527dded0 (diff) | |
(andri) fix switch account ke bisnis
Diffstat (limited to 'src/lib/auth/api/editPersonalProfileApi.js')
| -rw-r--r-- | src/lib/auth/api/editPersonalProfileApi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/auth/api/editPersonalProfileApi.js b/src/lib/auth/api/editPersonalProfileApi.js index 39cd44c1..90bda114 100644 --- a/src/lib/auth/api/editPersonalProfileApi.js +++ b/src/lib/auth/api/editPersonalProfileApi.js @@ -3,7 +3,7 @@ import { getAuth } from '@/core/utils/auth' const editPersonalProfileApi = async ({ data }) => { const auth = getAuth() - const dataProfile = await odooApi('PUT', `/api/v1/user/${auth.id}`, data) + const dataProfile = await odooApi('POST', `/api/v1/user/${auth.id}`, data) return dataProfile } |
