From eec336f3ae76b7cd27aa5fad8b539ccb103a0455 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 27 Dec 2022 17:39:58 +0700 Subject: no message --- src/pages/my/profile.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/pages') 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); -- cgit v1.2.3