Skip to content

Commit 4f1d3e5

Browse files
authored
Merge pull request #483 from Team-0ops/develop
main merge
2 parents 3e6fc70 + 83ba499 commit 4f1d3e5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎src/main/java/Oops/backend/domain/mypage/dto/response/MyProfileResponseDto.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ public class MyProfileResponseDto {
2121

2222
public static MyProfileResponseDto from(User user, long commentReportCount, long postReportCount, String presignedUrl) {
2323
return MyProfileResponseDto.builder()
24-
.userName(user.getEmail())
24+
.userName(user.getUserName())
25+
.email(user.getEmail())
2526
.profileImageUrl(presignedUrl)
2627
.point(user.getPoint() != null ? user.getPoint() : 0)
2728
.commentReportCount(commentReportCount)

0 commit comments

Comments
 (0)