diff --git a/mdx-web/src/main/java/com/mx/path/model/mdx/web/controller/ProfilesController.java b/mdx-web/src/main/java/com/mx/path/model/mdx/web/controller/ProfilesController.java index 5f8b4f57..62213087 100644 --- a/mdx-web/src/main/java/com/mx/path/model/mdx/web/controller/ProfilesController.java +++ b/mdx-web/src/main/java/com/mx/path/model/mdx/web/controller/ProfilesController.java @@ -108,7 +108,7 @@ public final ResponseEntity updateSecurityQuestions(@RequestB if (result != null && result.getChallenges() != null && result.getChallenges().size() > 0) { return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.ACCEPTED); } - return new ResponseEntity<>(createMultiMapForResponse(response.getHeaders()), HttpStatus.OK); + return new ResponseEntity<>(response.getResult().wrapped(), createMultiMapForResponse(response.getHeaders()), HttpStatus.OK); } @RequestMapping(value = "/users/{userId}/profile/phones", method = RequestMethod.GET)