Skip to content

Commit

Permalink
feat: 누락된 필드 삭제도 모두 삭제 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdkdhoho committed Feb 12, 2024
1 parent 7e0d6b9 commit 2eb31fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ public record LoginResponse(
String backgroundImageUrl,
String nickname,
String description,
int followingCount,
int followerCount,
boolean isFirst,
String accessToken
) {
Expand All @@ -21,8 +19,6 @@ public static LoginResponse of(User user, boolean isFirst, String accessToken) {
user.getBackgroundImageUrl(),
user.getNickname(),
user.getDescription(),
user.getFollowingCount(),
user.getFollowerCount(),
isFirst,
accessToken
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ public record UserInfoResponse(
String profileImageUrl,
String nickname,
String description,
int followerCount,
int followingCount,
boolean isFollowed,
boolean isOwner
) {
Expand All @@ -23,8 +21,6 @@ public static UserInfoResponse of(User user, boolean isFollowed, boolean isOwner
.profileImageUrl(user.getProfileImageUrl())
.nickname(user.getNickname())
.description(user.getDescription())
.followerCount(user.getFollowerCount())
.followingCount(user.getFollowingCount())
.isFollowed(isFollowed)
.isOwner(isOwner)
.build();
Expand Down

0 comments on commit 2eb31fe

Please sign in to comment.