diff options
| author | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-27 17:39:58 +0700 |
|---|---|---|
| committer | Rafi Zadanly <rafizadanly@gmail.com> | 2022-12-27 17:39:58 +0700 |
| commit | eec336f3ae76b7cd27aa5fad8b539ccb103a0455 (patch) | |
| tree | 150784d07aaf3995a044d3d1cfaa19945f669512 /src/pages | |
| parent | 1e12cbcedbb8eaf52982cef89e35a29b0e555537 (diff) | |
no message
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/my/profile.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pages/my/profile.js b/src/pages/my/profile.js index f1d0a701..be1a67b0 100644 --- a/src/pages/my/profile.js +++ b/src/pages/my/profile.js @@ -20,8 +20,7 @@ export default function MyProfile() { let dataToUpdate = { name: auth.name, phone: auth.phone, - mobile: auth.mobile, - token: auth.token + mobile: auth.mobile }; if (password) dataToUpdate.password = password; let update = await apiOdoo('PUT', `/api/v1/user/${auth.id}`, dataToUpdate); |
