Skip to content

Commit

Permalink
[Refactor] FriendSimpleDto 반환 시 friendNo 포함
Browse files Browse the repository at this point in the history
  • Loading branch information
eunki96 committed Nov 26, 2023
1 parent c9114a7 commit 1e77899
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ private FriendSimpleDto(Long friendNo, Long friendUserNo, String friendName, Use

public static FriendSimpleDto from(Friend friend, UserPhoto userPhoto){
return FriendSimpleDto.builder()
.friendNo(friend.getFriendNo())
.friendUserNo(friend.getFriendUserNo())
.friendName(friend.getFriendName())
.userPhoto(userPhoto)
Expand Down

0 comments on commit 1e77899

Please sign in to comment.