Skip to content

Commit

Permalink
Removed the identity from API response (mosip#1148)
Browse files Browse the repository at this point in the history
Signed-off-by: Aravindhan Alagesan <[email protected]>
Signed-off-by: kameshsr <[email protected]>
  • Loading branch information
aranaravi authored and kameshsr committed Mar 15, 2024
1 parent 07fc93c commit cff8986
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public ResponseWrapper<Object> getInputAttributeValues(@PathVariable("schemaType
ResponseWrapper<Object> responseWrapper = new ResponseWrapper<>();
String id = getIdFromUser();
Map<String, ?> propertiesResponse = idServiceImpl.getIdentityAttributes(id, schemaType, List.of());
propertiesResponse.remove(Utility.IDENTITY);
auditUtil.setAuditRequestDto(EventEnum.GET_INPUT_ATTRIBUTES_SUCCESS);
logger.debug("IdentityController::getInputAttributeValues()::exit");
responseWrapper.setResponse(propertiesResponse);
Expand Down

0 comments on commit cff8986

Please sign in to comment.