Skip to content

Commit

Permalink
Fix: JoinResultDTO 필드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yxhwxn committed Jul 29, 2024
1 parent dda4409 commit 988fb23
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Component
public class MemberConverter {

Expand All @@ -25,7 +27,7 @@ public static MemberResponseDTO.JoinResultDTO toJoinResultDTO(Member member) {
.userId(member.getUserId())
.name(member.getName())
.email(member.getEmail())
.createdAt(member.getCreatedAt())
.createdAt(LocalDateTime.now())
.build();
}

Expand Down

0 comments on commit 988fb23

Please sign in to comment.