diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index fb9687ba..55451d5a 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -835,9 +835,13 @@ class UserController extends BaseAuthedController { error_log($response); $rspObj = json_decode($response, true); User::Update(array( - 'address' => $rspObj['address'] + 'address' => $rspObj['data']['address'] + )); + $propertyChgService = new services\PropertyChgService(); + $propertyChgService->addUserChg(); + $this->_rspData(array( + 'property_chg' => $propertyChgService->toDto(), )); - $this->_rspOk(); } private function dampingElo($userInfo){