We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3dd9c3 commit b267465Copy full SHA for b267465
โsrc/main/kotlin/club/anifox/backend/controller/exception/ApiExceptionHandler.ktโ
@@ -69,7 +69,7 @@ class ApiExceptionHandler : ResponseEntityExceptionHandler() {
69
ex: BadCredentialsException,
70
request: WebRequest,
71
) {
72
- response.status = HttpStatus.UNAUTHORIZED.value()
+ response.status = HttpStatus.CONFLICT.value()
73
response.contentType = MediaType.APPLICATION_JSON_VALUE
74
response.writer.write("{\"error\": \"${ex.message}\"}")
75
response.writer.flush()
0 commit comments