diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-08-15 10:23:38 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-08-15 10:23:38 +0000 |
| commit | 5ef267f76486ed590c00d3c37cccde5c713491cd (patch) | |
| tree | 4a3cf919743ac45d4ecb8d01fdf7ef51685ca16a /src/lib/auth/api/editPersonalProfileApi.js | |
| parent | 4d7e2f7b6e92cbe700e5b8fcea006b3d70ed81f9 (diff) | |
| parent | b1bdfbb9f780a1a1305e02c4b9c338b98c7a4556 (diff) | |
Merged in tempo-v2 (pull request #442)
Tempo v2
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 } |
