Skip to content

Commit

Permalink
sonarqube fixes. issue #2176
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Nov 13, 2023
1 parent 580e0c8 commit e2fc691
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,7 @@ public Response createUser(RestfulUserV6 userData) {

userData = RestfulUserV6.fromAppUserBean(u);

Response res = Response.ok(userData).build();
return res;
return Response.ok(userData).build();
} catch (Exception ex) {
log.error("can not create new user " + userData.getPrincipalId(), ex);
return Response.serverError().build();
Expand Down

0 comments on commit e2fc691

Please sign in to comment.