Skip to content

Commit

Permalink
[FEATURE] 재학생 인증 API 응답 스펙 변경 (#78)
Browse files Browse the repository at this point in the history
feat: 재학생 인증 API 응답 스펙 변경 (#75)
  • Loading branch information
hyunmin0317 authored Oct 6, 2024
1 parent 151b578 commit 204f18c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

@Builder
public record AuthResponseDto(
String username,
String name,
String department,
String email
Expand All @@ -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"))
Expand Down

0 comments on commit 204f18c

Please sign in to comment.