Skip to content

Commit

Permalink
Add scimType to BadRequestException
Browse files Browse the repository at this point in the history
  • Loading branch information
hwupathum committed Jan 22, 2024
1 parent 22f2388 commit aaa0ed3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,8 @@ private void prepareAddedRemovedUserLists(Set<String> addedMembers, Set<String>
}

if (memberObject.get(SCIMConstants.RoleSchemaConstants.DISPLAY) == null) {
throw new BadRequestException("User can't be resolved from the given user Id.");
throw new BadRequestException("User can't be resolved from the given user Id.",
ResponseCodeConstants.INVALID_VALUE);
}

List<String> roleList;
Expand Down

0 comments on commit aaa0ed3

Please sign in to comment.