Skip to content

Commit 2414699

Browse files
authored
Hotfix : 유저 조회시 프로필 이미지 반환하도록 수정 (#93)
1 parent 43455a0 commit 2414699

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/ita/tinybite/domain/user/dto/res/UserResDto.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
public record UserResDto(
66
Long userId,
77
String name,
8-
String location
8+
String location,
9+
String userProfileImage
910
) {
1011

1112
public static UserResDto of(User user) {
12-
return new UserResDto(user.getUserId(), user.getNickname(), user.getLocation());
13+
return new UserResDto(user.getUserId(), user.getNickname(), user.getLocation(),user.getProfileImage());
1314
}
1415
}

0 commit comments

Comments
 (0)