diff --git a/src/main/java/com/kusithm/hdmedi_server/domain/user/dto/response/UserAuthResponseDto.java b/src/main/java/com/kusithm/hdmedi_server/domain/user/dto/response/UserAuthResponseDto.java index 6b469e0..920a2a9 100644 --- a/src/main/java/com/kusithm/hdmedi_server/domain/user/dto/response/UserAuthResponseDto.java +++ b/src/main/java/com/kusithm/hdmedi_server/domain/user/dto/response/UserAuthResponseDto.java @@ -8,15 +8,17 @@ @Builder @Getter public class UserAuthResponseDto { + private Long userId; + private String userName; private String accessToken; private String refreshToken; - private Long userId; public static UserAuthResponseDto of(Token token, User user) { return UserAuthResponseDto.builder() .accessToken(token.getAccessToken()) .refreshToken(token.getRefreshToken()) .userId(user.getId()) + .userName(user.getUserName()) .build(); } }