Skip to content

Commit

Permalink
Fix: Use the correct description text when throwing a ForbiddenException
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasdellschaft committed Jan 11, 2023
1 parent b0a70fd commit 177b680
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class ForbiddenException extends AbstractCharonException {

public ForbiddenException() {
this(ResponseCodeConstants.DESC_CONFLICT);
this(ResponseCodeConstants.DESC_FORBIDDEN);
}

public ForbiddenException(String exception) {
Expand Down

0 comments on commit 177b680

Please sign in to comment.