Skip to content

Commit

Permalink
Remove unecessary code error
Browse files Browse the repository at this point in the history
  • Loading branch information
murraco committed Jul 19, 2020
1 parent 165c1f5 commit 5fbadf2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/murraco/controller/UserController.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public String login(//
@ApiResponses(value = {//
@ApiResponse(code = 400, message = "Something went wrong"), //
@ApiResponse(code = 403, message = "Access denied"), //
@ApiResponse(code = 422, message = "Username is already in use"), //
@ApiResponse(code = 500, message = "Expired or invalid JWT token")})
@ApiResponse(code = 422, message = "Username is already in use")})
public String signup(@ApiParam("Signup User") @RequestBody UserDataDTO user) {
return userService.signup(modelMapper.map(user, User.class));
}
Expand Down

0 comments on commit 5fbadf2

Please sign in to comment.