Skip to content

Commit

Permalink
fix: 200 response needs a body returned
Browse files Browse the repository at this point in the history
  • Loading branch information
Neehaarika committed Jun 3, 2024
1 parent 1a605a6 commit 612b856
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public final ResponseEntity<SecurityQuestions> 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)
Expand Down

0 comments on commit 612b856

Please sign in to comment.