Skip to content

Commit

Permalink
refactor 405 response to API_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
İdil Zeynep Alemdar committed Jan 12, 2025
1 parent d3def58 commit cfec0f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ AysErrorResponse handleHttpRequestMethodNotSupportedException(HttpRequestMethodN
log.error(exception.getMessage(), exception);

return AysErrorResponse.builder()
.header(AysErrorResponse.Header.VALIDATION_ERROR.getName())
.header(AysErrorResponse.Header.API_ERROR.getName())
.build();
}

Expand Down

0 comments on commit cfec0f7

Please sign in to comment.