오류 응답 시 필드 이름 변경(grantType -> grant_type)

This commit is contained in:
curry772
2026-04-08 14:14:24 +09:00
parent 7fbe64f562
commit dc1ee33517
@@ -112,7 +112,7 @@ public class DJErpOAuth2Controller {
if (!StringUtils.equals(grantType, "client_credentials")) {
throw new JwtAuthException(
String.format("%d%s%s", HttpStatus.BAD_REQUEST.value(), SERVICE_CODE_ACCESS_TOKEN, "02"),
"Invalid Mandatory Field {grantType}");
"Invalid Mandatory Field {grant_type}");
}
String[] scopeArr = org.springframework.util.StringUtils.tokenizeToStringArray(scopes, " ");