diff options
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); |
