Skip to content

Commit

Permalink
Update JwtSRV.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincenzo Ingenito authored and Vincenzo Ingenito committed May 23, 2024
1 parent 402e6aa commit ac6244f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,12 @@ private void validateLocality(String locality) {
}
}

private ValidationException buildValidationException() {
private ValidationException buildValidationException() {
ErrorResponseDTO error = ErrorResponseDTO.builder()
.type(RestExecutionResultEnum.INVALID_TOKEN_FIELD.getType())
.title(RestExecutionResultEnum.INVALID_TOKEN_FIELD.getTitle())
.instance(ErrorInstanceEnum.JWT_MALFORMED_FIELD.getInstance())
.detail("Il campo Locality non è valorizzato correttamente - EXAMPLE - FIELD1^^^^^FIELD2^^^^FIELD3")
.detail("Il campo Locality non è valorizzato correttamente - EXAMPLE - FIELD1^^^^^&FIELD2&ISO^^^^FIELD3")
.build();
return new ValidationException(error);
}
Expand Down

0 comments on commit ac6244f

Please sign in to comment.