|
|
|
@@ -25,14 +25,12 @@ export class ProfilePage implements OnInit { |
|
|
|
this.userInfo = JSON.parse(localStorage.userInfo)['User Info']; |
|
|
|
} |
|
|
|
|
|
|
|
updateUserInfo() { |
|
|
|
updateUserInfo() { |
|
|
|
let tempUserInfo = { |
|
|
|
id: this.userInfo.id, |
|
|
|
name: this.userInfo.name, |
|
|
|
user_id: this.userInfo.id, |
|
|
|
username: this.userInfo.username, |
|
|
|
user_mobile: this.userInfo.mobile, |
|
|
|
email: this.userInfo.email, |
|
|
|
mobile: this.userInfo.mobile, |
|
|
|
address: [] |
|
|
|
} |
|
|
|
|
|
|
|
this.authService.updateUser(tempUserInfo).then((data) => { |
|
|
|
|