From 204f18c1445fc16442973bddb7f4c8126e0fd71f Mon Sep 17 00:00:00 2001 From: Hyunmin Choi Date: Sun, 6 Oct 2024 15:47:23 +0900 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=EC=9E=AC=ED=95=99=EC=83=9D=20?= =?UTF-8?q?=EC=9D=B8=EC=A6=9D=20API=20=EC=9D=91=EB=8B=B5=20=EC=8A=A4?= =?UTF-8?q?=ED=8E=99=20=EB=B3=80=EA=B2=BD=20(#78)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat: 재학생 인증 API 응답 스펙 변경 (#75) --- .../com/smunity/server/domain/auth/dto/AuthResponseDto.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/smunity/server/domain/auth/dto/AuthResponseDto.java b/src/main/java/com/smunity/server/domain/auth/dto/AuthResponseDto.java index 170d867..2611646 100644 --- a/src/main/java/com/smunity/server/domain/auth/dto/AuthResponseDto.java +++ b/src/main/java/com/smunity/server/domain/auth/dto/AuthResponseDto.java @@ -6,6 +6,7 @@ @Builder public record AuthResponseDto( + String username, String name, String department, String email @@ -17,6 +18,7 @@ public static AuthResponseDto from(JSONArray json) { private static AuthResponseDto from(JSONObject obj) { return AuthResponseDto.builder() + .username(obj.getString("STDNO")) .name(obj.getString("NM_KOR")) .department(getDepartment(obj.getString("TMP_DEPT_MJR_NM"))) .email(obj.getString("EMAIL"))